Operating System - HP-UX
1826213 Members
2790 Online
109691 Solutions
New Discussion

Re: kernel messages in syslog

 
bbsupport
Advisor

kernel messages in syslog

Where do i get a list of all the kernel related messages that come up in /var/adm/syslog/syslog.log. I basically need this list so that i can have openview monitor the syslog to look for these messages and alert me.

An example for this would be:
vmunix: kthread: table is full

Thanks a bunch
Guru Prasad
4 REPLIES 4
JACQUET
Frequent Advisor

Re: kernel messages in syslog

Hi,

You could modify your /etc/syslog.conf file adding the following line :
*.kern /var/adm/syslog/syslog.log

and restart your syslogd proc by sending a -1 SIG :
kill -HUP `cat /var/run/syslog.pid`

PJA
PJA
Sridhar Bhaskarla
Honored Contributor

Re: kernel messages in syslog

If you are using IT/O, there is a default template for syslog that shows all the kernel messages. Set the filters and push the syslog template to all the systems.

I have seen a book compiled with all the syslog messages. But not able to find it at docs.hp.com website.

But the default template that is already there in IT/O template bank is more than sufficient.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
bbsupport
Advisor

Re: kernel messages in syslog

Jacquet:
I have already done that and the messages do come up in syslog.log. What i was actually looking for was the list of type of kernel messages which come up in syslog. That way i can pattern match using openview`s log file encapsulator.

Sridhar: i did look at the default set, there is a template for dmesg output, but nothing for kernel messages in the syslog.log . If you or anyone happen to know of the book that you referred to that would be great

Thanks
Guru Prasad
Sridhar Bhaskarla
Honored Contributor

Re: kernel messages in syslog

I am not able to find any books in docs.hp.com. But there is one for vxfs file system messages.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3929-90011/B3929-90011_top.html&con=/hpux/onlinedocs/B3929-90011/00/00/64-con.html&toc=/hpux/onlinedocs/B3929-90011/00/00/64-toc.html&searchterms=kernel%20messages&queryid=20010820-150615

-Sri
You may be disappointed if you fail, but you are doomed if you don't try