Page 1 of 4

Network Outage Widget Error

Posted: Thu Mar 10, 2011 12:02 am
by JarrodHardy
I just upgraded our instance to the latest 2009R1.4B and we are getting this error with the "Network Outage Widget". We are using the CentOS VMWare image that I upgraded from 1.3G to 1.4B.

Network Outages widget
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
sh: /usr/local/nagios/sbin/outages-xml.cgi: No such file or directory
I looked for that cgi script, and it does notexist on my install.
[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".
[root@***** nagiosxi]# ls /usr/local/nagios/sbin/outages.cgi
/usr/local/nagios/sbin/outages.cgi
Is this the same exact file that is missing? If not, can I just grab it from a different download source on nagios.com to fix this?

Thanks,
Jarrod

Re: Network Outage Widget Error

Posted: Thu Mar 10, 2011 10:36 am
by rdedon
Hello,
it looks like this is a bug/error and we will have our lead developer take a look at this as I am not sure if that is the same file and would not want for you to have additional problems.

Re: Network Outage Widget Error

Posted: Thu Mar 10, 2011 5:41 pm
by admin
We'll get this fixed in the next 2009 release. For the time being, you should be able to fix the problem by following these steps:

1. Enter the directory where the Nagios XI installer was unpacked. For example:

Code: Select all

cd /tmp/nagiosxi
2. Change to the nagioscore subcomponents sub-directory:

Code: Select all

cd subcomponents/nagioscore
3. Upgrade Nagios Core

Code: Select all

./upgrade
Give that a try and see if it fixes the problem.

Re: Network Outage Widget Error

Posted: Thu Mar 10, 2011 5:54 pm
by JarrodHardy
This worked perfectly! :D

Thank you!
Jarrod

Re: Network Outage Widget Error

Posted: Fri Mar 11, 2011 5:34 pm
by rdedon
Excellent, glad it is fixed. Do contact us if you have any additional issues or questions you may need answered.

Thank you :-)

Re: Network Outage Widget Error

Posted: Mon Mar 21, 2011 12:38 am
by lntinfo
Hi,

I am getting same problem after updating the core.... :?:

We are using Nagios XI (unlimited licensed version) for our corporate monitoring. We have configured 650 hosts and 3000 services. Now I am facing a major problem from 12th March 2011 onwards, automatically system components are going to read. This is happening after upgraded from XI2009R1.4 to XI2009R1.4B. Pls. find the attachement for more information.


Pls. help at erliast.... or give me down grade procedure...


Thanks & Regards,
Sivakumar

Re: Network Outage Widget Error

Posted: Mon Mar 21, 2011 8:53 am
by JarrodHardy
I had an issue like this before, and found out that my cron jobs were not running...

Try connecting as Nagios --> "su - nagios"

Then look at the cronjobs --> "crontab -e"

You should see something like this:

Code: Select all

######################################
# Nagios XI Cron Jobs - Run as nagios
######################################
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1
If you have a blank crontab (like I did), then just add the jobs above... Adjust the directory locations if different on your system.

If you have all the crontab jobs running, then it is a different issue than I had.

Thanks,
Jarrod

Re: Network Outage Widget Error

Posted: Mon Mar 21, 2011 9:07 am
by rdedon
Thanks Jarrod! :)

Re: Network Outage Widget Error

Posted: Mon Mar 21, 2011 9:24 am
by lntinfo
Hi,

All Corntab job are running properly... I am facing problem after up graded from 2009R1.4 to 2009R1.4B

Regards,
Sivakumar

Re: Network Outage Widget Error

Posted: Mon Mar 21, 2011 9:50 am
by rdedon
Intinfo,
did you follow this procedure yet?
admin wrote:We'll get this fixed in the next 2009 release. For the time being, you should be able to fix the problem by following these steps:

1. Enter the directory where the Nagios XI installer was unpacked. For example:

Code: Select all

cd /tmp/nagiosxi
2. Change to the nagioscore subcomponents sub-directory:

Code: Select all

cd subcomponents/nagioscore
3. Upgrade Nagios Core

Code: Select all

./upgrade
If so, we can attempt other ways as well.

Give that a try and see if it fixes the problem.