Network Outage Widget Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
JarrodHardy
Posts: 18
Joined: Wed Mar 09, 2011 5:44 pm

Network Outage Widget Error

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Network Outage Widget Error

Post 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.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Network Outage Widget Error

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
JarrodHardy
Posts: 18
Joined: Wed Mar 09, 2011 5:44 pm

Re: Network Outage Widget Error

Post by JarrodHardy »

This worked perfectly! :D

Thank you!
Jarrod
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Network Outage Widget Error

Post by rdedon »

Excellent, glad it is fixed. Do contact us if you have any additional issues or questions you may need answered.

Thank you :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

Re: Network Outage Widget Error

Post 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
You do not have the required permissions to view the files attached to this post.
JarrodHardy
Posts: 18
Joined: Wed Mar 09, 2011 5:44 pm

Re: Network Outage Widget Error

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Network Outage Widget Error

Post by rdedon »

Thanks Jarrod! :)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

Re: Network Outage Widget Error

Post by lntinfo »

Hi,

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

Regards,
Sivakumar
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Network Outage Widget Error

Post 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.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked