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
Last Question: Netwwork outages - Cannot parse xml file.
Re: Last Question: Netwwork outages - Cannot parse xml file
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
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
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?
/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
That file appears to be empty.
# ls -la load*.log
-rw-r--r-- 1 nagios nagios 0 Nov 29 04:03 load_url.log
# 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
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_logRe: Last Question: Netwwork outages - Cannot parse xml file
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.
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
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?
Did you do any customizing during the installation process on this machine?
Re: Last Question: Netwwork outages - Cannot parse xml file
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
Any way can I can rebuild just that file locally? outage-xml.cgi
Re: Last Question: Netwwork outages - Cannot parse xml file
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...