check_nagios Plugin not working with Nagios 2.0b2

Naman Latif naman.latif at inamed.com
Sat Feb 26 19:45:37 CET 2005


Hi,
The check_nagios plug-in is not working with Nagios2.0b2. Even though
the status.dat file is updated, it still comes back and reports the file
as outdated and a Warning message.

bash-2.05# ./check_nagios  -V
check_nagios (nagios-plugins 1.4) 1.25

bash-2.05# ls -l /usr/local/nagios2/var
total 438
drwxrwxr-x   2 nagios   nagios       512 Feb 26 00:00 archives
-rw-rw-r--   1 nagios   nagios       240 Feb 25 12:50 comments.dat
-rw-rw-r--   1 nagios   nagios       241 Feb 25 12:50 downtime.dat
-rw-r--r--   1 nagios   nagios         5 Feb 25 12:50 nagios.lock
-rw-r--r--   1 nagios   nagios      7365 Feb 26 18:06 nagios.log
-rw-r--r--   1 nagios   nagios     58033 Feb 25 21:06 objects.cache
-rw-r--r--   1 nagios   nagios     77272 Feb 26 18:06 retention.dat
drwxr-xr-x   2 nagios   other        512 Feb 20 22:36 rw
-rw-rw-r--   1 nagios   nagios     74469 Feb 26 18:42 status.dat
bash-2.05# date
Sat Feb 26 18:42:23 GMT 2005

bash-2.05# ./check_nagios -F /usr/local/nagios2/var/status.dat -e 60 -C
/usr/local/nagios2/bin/nagios
Nagios problem: located 1 process, status log updated 1109443407 seconds
ago

Any Help ?

Thanks \\ Naman



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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