Using check_nagios plugin

Wheeler, JF (Jonathan) J.F.Wheeler at rl.ac.uk
Mon Feb 13 15:35:41 CET 2006


I am running nagios version 2.0rc2 with nagios-plugins version 1.4.1.
In the commands file I issue a local command on the server using the
check_nagios plugin like this:

$USER1$/check_nagios -F /var/log/nagios/status.log -e 5 -C
/usr/bin/nagios

>From the web interface I get the following message:

Nagios problem: located 2 processes, status log updated 1139840775
seconds ago

If I issue the command on the server, that is, as;

/usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.log -e 5
-C /usr/bin/nagios

I get the message:

Nagios problem: located 1 process, status log updated 1139840299 seconds
ago

>From this I have 3 questions:

a) why the difference in the number of processes
b) why does the log file use timestamps using the number of seconds
since 1st Jan 1970 (I could not find a configuration option to control
this)
c) why the warning about the update of the status log file

Many thanks in advance

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list