Page 2 of 3
Re: Event Data Stops
Posted: Mon Mar 07, 2011 11:45 am
by mguthrie
The newest snapshot should fix the event data issue, let us know how you guys fare.
http://assets.nagios.com/downloads/nagi ... vel.tar.gz
I suspect ours was started by altering the timezone to the correct city we are located in. Scouring around some other nagios forums it looks like maybe the SQL backend might have issues with certain timezones but that is just a stab in the dark. The timezone was updated and then not long after we updated to 2009R1.4B and this is when the Event Data Stale errors appeared. We are located Brisbane, Australia GMT +10 but no daylight savings. The Event data always says it is out 1hr and about 40 secs and daylight savings time is +1 hr so figured might be related to that.
Check your PHP timezone settings, it sounds like it could either be related to DST or the UTC offset is off by an hour. The following wiki shows where to set your PHP timezone settings.
http://support.nagios.com/wiki/index.ph ... e.22_Error
Re: Event Data Stops
Posted: Tue Mar 08, 2011 4:47 pm
by SeanFromIT
Upgrade script froze at Starting nagios. Did not come back after 10 minutes so I had to CTRL-C the script. nagios service was not running. 'service nagios start' comes back clean but 'service nagios status' reveals that it's not running, so it must be dieing after start-up. So I rebooted the server and everything came back clean. Due to the nature of the issue, it could be 24+ hours before I know whether or not it's fixed. I'll post again if it is not.
Re: Event Data Stops
Posted: Wed Mar 09, 2011 9:53 am
by SeanFromIT
At almost exactly 7 hours online the Event Data stopped. Problem still exists.
Re: Event Data Stops
Posted: Wed Mar 09, 2011 11:40 pm
by JarrodHardy
I just upgraded our instance to the latest
2009R1.4B and we are getting this same exact error. We are using the
CentOS VMWare image that I upgraded to the latest version of Nagios XI.
Network Outages widget
Code: Select all
Error: Unable to parse XML Output! Monitoring engine may be stopped.
I have found the following error showing up in "
/var/log/httpd/error_log" everytime the Network Outage Widget tries to refresh the data.
/var/log/httpd/error_log
Code: Select all
sh: /usr/local/nagios/sbin/outages-xml.cgi: No such file or directory
I looked for that cgi script, and it does
NOT exist on my install.
Code: Select all
[root@***** nagiosxi]# ls /usr/local/nagios/sbin/outages-xml.cgi
ls: /usr/local/nagios/sbin/outages-xml.cgi: No such file or directory
However I do see a cgi script called "outages.cgi". Is this the same script? If not, will getting this script from one of the install package downloads from nagios.com and placing it in the missing file location fix this?
Code: Select all
[root@***** nagiosxi]# ls /usr/local/nagios/sbin/outages.cgi
/usr/local/nagios/sbin/outages.cgi
Hope this helps troubleshoot this issue.
Thanks,
Jarrod
Re: Event Data Stops
Posted: Thu Mar 10, 2011 10:46 am
by rdedon
It does help greatly and I am having the lead developer look at this as there are a few people reporting the same issue. Thank you for the information.
Re: Event Data Stops
Posted: Mon Mar 14, 2011 11:40 am
by SeanFromIT
Any updates?
Re: Event Data Stops
Posted: Mon Mar 14, 2011 11:45 am
by JarrodHardy
If you are have the same problem as I did, here is the thread that fixed my Network Outage Widget XML error.
http://support.nagios.com/forum/viewtop ... =16&t=1825
Re: Event Data Stops
Posted: Mon Mar 14, 2011 11:46 am
by rdedon
Thank you, I was just hunting for that thread

Re: Event Data Stops
Posted: Mon Mar 14, 2011 12:03 pm
by SeanFromIT
I'll give it a shot. Same hang at stopping/starting Nagios so I rebooted after running the nagioscore upgrade...we'll see if event data stops in a couple hours.
Re: Event Data Stops
Posted: Mon Mar 14, 2011 2:37 pm
by SeanFromIT
Same problem. Event data just stopped a few minutes ago.