- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syslog Search Key Words
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
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
тАО06-19-2004 09:51 PM
тАО06-19-2004 09:51 PM
Syslog Search Key Words
I have monitoring tool to check syslog file for errors that may show a problem that exist.
Currently I use the following keywords,
critical, error, fail, unable, warn, panic
I need to know, what other keywords that may exist in syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 10:23 PM
тАО06-19-2004 10:23 PM
Re: Syslog Search Key Words
What we normally look for are 'lbolt' errors in conjuction with possible disk errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 10:28 PM
тАО06-19-2004 10:28 PM
Re: Syslog Search Key Words
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 10:46 PM
тАО06-19-2004 10:46 PM
Re: Syslog Search Key Words
Investigating Lbolt errors.
Lbolt errors within the syslog are usually a good indication that there is a hardware issue with a disk drive.
As soon as an alert is received the first thing to do is to determine which device has a problem.
To do this, have a look at /var/adm/syslog/syslog.log and grep out the ├в lbolt├в entries.
Look for the entry which refers to a device. An example of this entry is shown below:
Aug 29 10:11:44 vmunix: LVM: vg[0]: pvnum=0 (dev_t=0x1f016000) is POWERFAILED
Aug 29 10:11:44 vmunix:
Aug 29 10:11:44 vmunix: SCSI: Late REQ for command phase -- lbolt: 19877
295, dev: 1f016000
Aug 29 10:11:44 vmunix: lbp->state: 4000
Aug 29 10:11:44 vmunix: lbp->offset: ffffffff
Aug 29 10:11:44 vmunix: lbp->uPhysScript: 50c9000
Aug 29 10:11:44 yy523_1 vmunix: From most recent interrupt:
Aug 29 10:11:44 yy523_1 vmunix: ISTAT: 0a, SIST0: c0, SIST1: 00,
DSTAT: 80, DSPS: 050c9401
There will be lots of data associated with the lbolt error/SCSI reset, most of which will only really mean anything to HP.
The data you need to look for is that which is highlighted in red. This tells us which device has the problem.
Make a note of the device as above, then do a listing of /dev/dsk and match the two together.
# ll /dev/dsk | more
total 0
brw-r----- 1 bin sys 31 0x011000 Jul 24 1999 c1t1d0
brw-r----- 1 bin sys 31 0x016000 Jul 12 1999 c1t6d0
As you can see, the number in the listing above (the minor number of the device) matches the number from the syslog which in turn identifies the problem device as /dev/dsk/c1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 07:29 AM
тАО06-20-2004 07:29 AM
Re: Syslog Search Key Words
I'd recommend you to use the standard diagnostic tool, which you can configure from SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 01:46 PM
тАО06-20-2004 01:46 PM
Re: Syslog Search Key Words
ie grep -Eiv "ftp|sudo".
If anything unusual occurs, u will not miss it.
Isaac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 04:03 PM
тАО06-20-2004 04:03 PM
Re: Syslog Search Key Words
You are talking about standard diagnostic tool in SAM.May I know where is this extacly is SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 05:47 PM
тАО06-20-2004 05:47 PM
Re: Syslog Search Key Words
grep -e crit -e err -e fail -e unable -e warn -e panic -e lbolt /var/ad,/syslog/syslog.log
The reason to abbreviate critical and error is that sometimes the messages will say err rather than error. The lbolt errors are multi-line so if you see one, there are many other lines in syslog that are related. There are other messages that may be multi-line. Use the keywords to catch the majority of them. There is no comprehensive list of error messages since any program can log error messages.
And SAM is really the program /usr/sbin/sam. It is the primary system administration tool for HP-UX. We usually write SAM so it stands out a bit but you really run it with the command: sam (from a root login).
Bill Hassell, sysadmin