Last Question: Netwwork outages - Cannot parse xml file.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Last Question: Netwwork outages - Cannot parse xml file.

Post by epx998 »

Hi All,

Think I am about done with NagiosXI and getting ready to present it to my upper management. One last thing I want to resolve is in my Tactical Overview, under Network Outages. The Network Outages box reports "Error: Unable to parse XML output! Monitoring engine may be stopped. Check engine", all the XI System Components are active and green. Does this error mean there could be a permissions issue or a file is missing?

Cheers,

Gavin
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by mguthrie »

I think this might have been a bug in an older version, which version of XI are you running?
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by epx998 »

I am using Nagios XI 2011R1.8. Is there anything I can do to resolve that bug, it was noticed and my first overview meeting on Nagios XI, I would really like to get it working correctly.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by mguthrie »

Can you take a look and see if there is log output in the following file:

/usr/local/nagiosxi/var/load_url.log

and post the contents if there are recent entries?
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by epx998 »

That file appears to be empty.

# ls -la load*.log
-rw-r--r-- 1 nagios nagios 0 Nov 29 04:03 load_url.log
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by mguthrie »

Do you get any entries in the apache log when you attempt to access that page?

Code: Select all

tail -f /var/log/httpd/error_log
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by epx998 »

Getting this error;

sh: /usr/local/nagios/sbin/outages-xml.cgi: No such file or directory

I will try to find that file and add it in there.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by mguthrie »

Hmm, that file *should* have been compiled during the install process. What version are you running?

Did you do any customizing during the installation process on this machine?
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by epx998 »

I had to install the os from our custom kickstart, that cause a lot of problems since XI doesn't react well to non-standard installations. I was able to work through the differences, but the fullinstall script had to be restarted a few times. I just tried to copy over the file from a new install off a vm, but I just realized that was 6.1 vs 5.7 which is what our production machines are on. Apache error log doesn't say anything, neither does the nagios log. Running the copied file gives me a seg fault.

Any way can I can rebuild just that file locally? outage-xml.cgi
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last Question: Netwwork outages - Cannot parse xml file

Post by mguthrie »

That file is compiled from source during the A-subcomponents install script. You're probably getting segfaults because the libraries on system don't match the other. I might suggest running the "fullinstall" from the beginning with a fresh tarball...
Locked