- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: messages to syslog
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
Forums
Discussions
Discussions
Discussions
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
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
05-28-2003 03:43 AM
05-28-2003 03:43 AM
messages to syslog
We are using Tivoli to monitor our HPs.
We are looking for somewhere to get the syntax of the messages sent to the syslog by the OS.
For example: hardware problems, lvm, kernel etc. We need this for filtering and parsing the messages, so that the admin at the Tivoli console will get the important and focused info. If anyone knows where we can get stuff like this, or has written rules for parsing events sent to the syslog - we would love to know.
Thanks, Shelley.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 03:45 AM
05-28-2003 03:45 AM
Re: messages to syslog
Doesn't Tivoli have this type of information? With the price of Tivoli, I would expect them to help you get things set up, too.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 03:49 AM
05-28-2003 03:49 AM
Re: messages to syslog
run syslogd with -d option, it runs in debugging mode, where u can watch the facility and priorities.
hope this link may help u.
http://userpages.umbc.edu/~jack/ifsm498d/syslog.html
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 03:51 AM
05-28-2003 03:51 AM
Re: messages to syslog
Tivoli should have some doc on how to parse log files, and the syntax to tell the agents what to look for in the logs.
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 04:54 AM
05-28-2003 04:54 AM
Re: messages to syslog
Try using /usr/sbin/logger.
The logger command provides a shell command interface to the syslogd daemon.
man logger for more info and see if this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 06:03 AM
05-28-2003 06:03 AM
Re: messages to syslog
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 06:07 AM
05-28-2003 06:07 AM
Re: messages to syslog
In general, you'll need to watch the syslog.log file for a while and setup rules based on what you see. And of course, the existence of some messages is controlled by /etc/syslog.conf which can cause some low importance messages to be ignored. Use logger to test how syslog.conf is working.
As mentioned, Tivoli is a very expensive monitoring system and their support should provide lots of templates and recommendations for syslog rules.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 11:00 PM
05-28-2003 11:00 PM
Re: messages to syslog
For example:
I would like to get a message about
"... vmunix: ... vx_nospace ... file system full ..."
but I wouldn't like to get ALL messages that start with "vmunix:". To do this I'd have to know the exact syntax of the message sent (file system full). I can wait and collect each time a message gets to the syslog... But if I could get some kind of mapping for all messages that HP send to the syslog (or at least some) that would be very helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 05:03 AM
05-29-2003 05:03 AM
Re: messages to syslog
Probably the easiest method is to create a syslog filter script that ignores uninteresting and currently tagged messages and shows the rest. As you add rules to the Tivoli code, change the filter program to ignore those messages and you'll get just the ones that need a decision.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 11:40 AM
05-29-2003 11:40 AM
Re: messages to syslog
Shelley, you should be able
to use some sort of regular
exprssion matching, even
if it's a simple as
*vmunix*
I do the same monitoring
with perl scripts.
You should be able to scan
through syslog.log for any
entry that contains "vmunix"
and page out immediately
To prevent all of the boot
entries from paging, I added the following to my boot scripts
perl -p -i -e 's/vmunix/Vmunix' /var/adm/syslog/syslog.log
This modifies all boot up entries, so you don't page for
startup messages.
But every monitoring tool that I have seen, does this easily