- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog troubleshooting
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:18 AM
тАО07-06-2009 06:18 AM
Do somebody knows a good site or some guides to understand how syslog works and how to troubleshoot it? I am looking for the most common and critical errors found in syslog. For instance, what are the most common checks to perform every morning when you log in and want to know the status of your servers.
Thx!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:30 AM
тАО07-06-2009 06:30 AM
Re: syslog troubleshooting
I pull messages out of it, and put them into google with a few search terms identifying the OS.
I have a couple of scripts that scan the file for lbolt, which means a disk problem has happened and automatically notify important people by email, so the problem is dealt with swiftly.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:39 AM
тАО07-06-2009 06:39 AM
Solution--------------------------------------------
grep -i full /var/adm/syslog/syslog.log |pg
grep -i fail /var/adm/syslog/syslog.log |pg
grep -i fault /var/adm/syslog/syslog.log |pg
grep -i error /var/adm/syslog/syslog.log |pg
grep -i scsi /var/adm/syslog/syslog.log |pg
grep -i lbolt /var/adm/syslog/syslog.log |pg
grep -i ems /var/adm/syslog/syslog.log |pg
grep -i lpmc /var/adm/syslog/syslog.log |pg
grep -i critical /var/adm/syslog/syslog.log |pg
grep -i Recovered /var/adm/syslog/syslog.log |pg
grep -i Restored /var/adm/syslog/syslog.log |pg
grep -i incorr /var/adm/syslog/syslog.log |pg
grep -i su: /var/adm/syslog/syslog.log |pg
grep -i cmcld /var/adm/syslog/syslog.log
grep -i lvm /var/adm/syslog/syslog.log
#tail -30 /var/adm/sulog |pg
netstat -in |pg
netstat -nvr |pg
netstat -an |grep "ESTABLISHED" |wc -l |pg
cat /var/adm/syslog/syslog.log |grep -i "connection logging"
ll /var/opt/resmon/log
--------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:43 AM
тАО07-06-2009 06:43 AM
Re: syslog troubleshooting
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:47 AM
тАО07-06-2009 06:47 AM
Re: syslog troubleshooting
chmod 700 /path/to/syslogchecker.sh
run it as:
/path/to/syslogchecker.sh | mailx -s "syslog check results for $(date)" myemail@mydomain.com
this command above assumes your server has ability to send mail to the outside world. If not, check recent forum archives about questions, regarding enabling mail sending on hpux.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 07:12 AM
тАО07-06-2009 07:12 AM
Re: syslog troubleshooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 07:42 AM
тАО07-06-2009 07:42 AM