1753838 Members
8773 Online
108806 Solutions
New Discussion юеВ

syslogs

 
Fenglin
Regular Advisor

syslogs

Hi HP-UX experts

As system administrator, we need to look at syslog.log on a daily basis to check for any abnormalities on the server. Are there scripts written to check for these abnormalities rather than we need to check it daily?

Regards
Feng Lin
6 REPLIES 6
Kapil Jha
Honored Contributor

Re: syslogs

I suppose ur customer should have installed some monitoring softwares which would alert you in case of any issue, like Openview,remedy etc.

Well as such there is no script to check the error, but you can write one just do a 'grep -v' for the normal alerts you see daily and get everything else on your mail in the morning (mailx) as a nice breakfast :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Johnson Punniyalingam
Honored Contributor

Re: syslogs

Country / Region: singapore
Personal quote:
Certification:
ITRC member since: May 14, 2008
Last contribution date: February 25, 2010
I have assigned points to 73 of 227 responses to my questions.

so far you assigned "73" points from "227" response. please take note assign points doesn't hurt any one but it encourage for those people who help to advice & resolve to your problems
Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor

Re: syslogs

Probably the best idea would be to integrate the servers via SFM into HP SIM.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Johnson Punniyalingam
Honored Contributor

Re: syslogs

Looks like you need "health check script"
Its always recommended to have "Monitoring Software products" to monitor your servers 24/7 send email & SMS alerts to "Sys Admin".

Best Choices.

HP - Open view, BMC - partol,Big brother so many ..etc.
Problems are common to all, but attitude makes the difference
Rita C Workman
Honored Contributor

Re: syslogs

A quick and dirty way to do this might be to write a very simple script that goes out and greps for certain words (lbolt, warn, fail...etc) in the syslog.log file and then emails that line as an alert to you.

You might even centralize all your syslogs to send certain kind of messages to one central server by editing your /etc/syslog.conf and that way you could use that simple script to check from one place.

Just a quick thought,
Rita
Torsten.
Acclaimed Contributor

Re: syslogs

Visit this:

http://www.hp.com/go/hpsim

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!