Home Directory Plugins Operating Systems Solaris Check the messages file for errors

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check the messages file for errors

Rating
1 vote
Favoured:
0
Hits
168364
Files:
FileDescription
check_messages_file.shCheck Solaris messages file
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check for errors in the messages file
This is a log check script that is very basic but works very well for the majority of hardware issues. The only downside is that it doesn't create a compare file as the check_log script does and will not auto clear until the next day (or if you fix it and rotate the log file) This script also checks if the OS is Solaris or linux and if it is a linux box it will scan the /var/log/messages instead of the /var/adm/messages file I have yet to see any alerts from my Linux boxes so I cannot verify how well that works!
Reviews (1)
bymtarkowski, November 1, 2012
Will not work for me. I get the following error:

egrep: /var/log/messages: Permission denied
OK - No major errors found in messages file.

I tried changing the file messages file owner, group, and permissions but no luck.