Page 1 of 2

Last Question: Netwwork outages - Cannot parse xml file.

Posted: Wed Nov 30, 2011 2:20 pm
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

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

Posted: Wed Nov 30, 2011 4:59 pm
by mguthrie
I think this might have been a bug in an older version, which version of XI are you running?

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

Posted: Thu Dec 01, 2011 1:43 pm
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.

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

Posted: Fri Dec 02, 2011 11:17 am
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?

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

Posted: Fri Dec 02, 2011 1:22 pm
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

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

Posted: Mon Dec 05, 2011 10:54 am
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

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

Posted: Mon Dec 05, 2011 1:27 pm
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.

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

Posted: Tue Dec 06, 2011 11:38 am
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?

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

Posted: Tue Dec 06, 2011 5:26 pm
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

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

Posted: Wed Dec 07, 2011 5:13 pm
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...