Showing results for 
Search instead for 
Did you mean: 

hp-health tool for linux

Go to solution
Khalid Shakoor
Regular Advisor

hp-health tool for linux

Hi Guruz,

We are receiving frequent (every 5 minutes) messages on couple of our proliant servers running Linux OS.The /var/log/messages file is filled with lines similar to the following:

Oct 5 11:45:01 ALG-NBUMEDIA01 /usr/sbin/cron[21605]: (root) CMD ( /opt/hp/hp-health/bin/check-for-restart-requests).

Can anyone tell me whats its can i avoid this messages in log file.

Thanks in advance.
Honored Contributor

Re: hp-health tool for linux

Your cron daemon is running the script /opt/hp/hp-health/bin/check-for-restart-requests, as specified in file /etc/cron.d/hp-health. This file was installed as part of the hp-health package.

(Older versions of hp-health did not have this; it seems to have been introduced in one of the newer versions.)

You can change syslog configuration to send all log messages to a different file. For example, in RHEL 5.x, the syslog configuration for /var/log/messages is:
*.info;mail.none;authpriv.none;cron.none /var/log/messages

And the cron log messages are stored into a different file:
cron.* /var/log/cron

Once the cron log messages are in a different file, you can set a shorter log rotation schedule for them if you feel it's appropriate. Or if you want to store _some_ cron job messages but not these, you'll have to add a post-processing step to your log rotation procedures to filter these messages out before archiving the log for long-term storage.

Khalid Shakoor
Regular Advisor

Re: hp-health tool for linux

Thanks Matti.