status.cgi output outdated

Shirley shirley at origamipartners.com
Wed Aug 13 19:07:50 CEST 2003


nagios 1.1 
nagios plugins 1.3.1

Linux hostname 2.4.20-13.7 #1 Mon May 12 13:13:52 EDT 2003 i686 unknown

i've recently installed nagios and find that some of the cgi output 
randomly points to outdated information...

host1 started out having 5 service checks associated with it, then changes 
were made to the services.cfg so that host1 now has 7 checks associated 
with it

the changes were checked with bin/nagios - v etc/nagios.cfg and no major 
problems were found so i restarted the nagios process:

/etc/init.d/nagios stop
/etc/init.d/nagios start

nagios started up without reporting any errors in the logs, and i clicked
on 'Service Detail' to see if it had updated. after a few refreshes, i saw
host1 listed with 7 checks as expected, all reporting 'OK'. then a few of
them was reporting 'unknown' so i went to the 'Service Problems' sidenav
link, but no errors were being reported on that frame. i went back to
"Service Detail' but this time the output showed host1 with only 5 checks
again, the ones it originally had been configured with.

at first i thought this had something to do with nagios saving
host/service states for restart (configured to do so in nagios.cfg), but
the thing is that the outdated information *comes back* even once nagios
has had a chance to update and starts showing the most recent
configuration.

the links giving me often outdated information are all using the
status.cgi; when i click on 'View Config' and select 'Services' as object
type, i get current information each time - but that uses the config.cgi 
as far as i can tell

i don't know much about cgi, but my problem is definately exhibited only
from the status.cgi. i've setup nagios before and have now confirmed that
this update problem doesn't occur on a different install (same version sw,
slightly diff hw/OS) i didn't find anything in the archives - has anyone
else encountered this problem? any help would be appreciated...thanks




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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