Home > Enterprise Linux Tips > Migration & Integration > Syslog from Windows
Enterprise Linux Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

MIGRATION & INTEGRATION

Syslog from Windows


Tom Lancaster
10.15.2003
Rating: -3.20- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Linux and Windows server administrators commonly need to view and monitor application, system and security logs. Of course, most of these logs in Windows servers are viewed in the aptly named Event Viewer, while most logs in Linux are just lines appended to simple ASCII text files by the syslogd service.

One thing I find very helpful is the ability to monitor Linux syslog messages from my Windows desktop in real-time. To accomplish this, I usually set up an old PC, or preferably use a dual-monitor configuration on my primary PC, so that I have plenty of screen space, then I use Putty to establish several ssh sessions (although telnet will also work) in different windows. Then I arrange the windows in some location where they're unlikely to be covered up by some other application.

Next, I run the "tail" command on several of the event logs. For example, if you want to monitor the "messages" log, you would type the command "tail –f /var/log/messages" into one of the windows. This will cause the contents of the file to be displayed on the screen, much as if you'd typed "cat /var/log/messages", except you don't get your prompt back. When the command reaches the end of file, it just sits there and waits. As soon as syslog puts another event in the file, it is immediately displayed in your window.

So browse through /var/log and decide which logs you want to monitor, then create one ssh session for each and run the "tail" command once in each window. This quickly creates a "network operations center" feel on your desktop, especially if you monitor logs from many servers.

If you work with a team of administrators all in the same room, consider dedicating an old PC to this task and swapping your monitor for a projector.


Thomas Alexander Lancaster IV is a consultant and author with over ten years experience in the networking industry, focused on Internet infrastructure.


Rate this Tip
To rate tips, you must be a member of SearchEnterpriseLinux.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts