Page 1 of 3
Upgraded to 2014R1.0: 'Network Outages' Unable to parse XML
Posted: Tue May 20, 2014 3:09 pm
by atuttle
The upgrade to Upgraded to 2014R1.0 went well.
Now in the 'Tactical Overview'/'Network Outages' we get "Error: Unable to parse XML output! Monitoring engine may be stopped. Check engine"
---
Everything else is fine.
---
In /var/log/httpd/error_log I keep getting:
PHP Warning: simplexml_load_string(): ^ in /opt/nagiosxi/html/includes/components/xicore/ajaxhelpers-tac.inc.php on line 29, referer:
https://myhost/nagiosxi/includes/compon ... re/tac.php
Edit: I have all green checkmarks up in the 'System Ok' area and in 'System Status' screen.
Unfortunately the "Monitoring Engine Status" page reveals the "Monitoring Engine Process" is dead and will not start.
Also clicking on "Schedule an immediate check" results in 'error occurred processing your request'.
Mod Note: Please edit your previous post to add new information if you are the last poster, thank you.
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Tue May 20, 2014 5:12 pm
by slansing
Are you forcing SSL in your Nagios XI installation? We have seen this as a cause and have a fix for that.
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Wed May 21, 2014 10:01 am
by atuttle
All links to my NagiosXI installation go to HTTPS.
(The previous NagiosXI upgrades had no issue with this....)
I have restored back to the 2012R2.9 version.
--
I am interested in knowing what the fix is so I can go to the current version.
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Wed May 21, 2014 1:04 pm
by lmiltchev
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Tue May 27, 2014 3:01 pm
by atuttle
Patch did not help.
During the restore back to the 2012R2.9 version there are errors at the end:
------------
Restoring PostgresQL databases...
SET
.
.
CREATE INDEX
WARNING: no privileges could be revoked for "public"
REVOKE
WARNING: no privileges could be revoked for "public"
REVOKE
WARNING: no privileges were granted for "public"
GRANT
WARNING: no privileges were granted for "public"
GRANT
Restarting database servers...
.
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Tue May 27, 2014 3:08 pm
by scottwilkerson
atuttle wrote:
During the restore back to the 2012R2.9 version there are errors at the end:
------------
Restoring PostgresQL databases...
SET
.
.
CREATE INDEX
WARNING: no privileges could be revoked for "public"
REVOKE
WARNING: no privileges could be revoked for "public"
REVOKE
WARNING: no privileges were granted for "public"
GRANT
WARNING: no privileges were granted for "public"
GRANT
Restarting database servers...
.
This would be normal on the restore, lets work this from one thread, please make follow-up items here and not on the other thread.
I did post this on the other thread but
@atuttle - what "Network Outages" message and "Monitoring Engine Status" failure were you seeing?
Also, It should be noted that the "patch" procedure would be done AFTER a successful upgrade to 2014 (that only had the improper "Network Outages")
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Tue May 27, 2014 3:58 pm
by atuttle
In each effort to upgrade from 2012R2.9 to 21014 the upgrade appeared successful.
However:
In the "Tactical Overview" screen the "Network Outages" section would have the 'Cannot parse XML..." error in red.
Searching for a way to resolve that seem to be what led to getting referred to the patch mentioned earlier.
--
The MAJOR problem on each upgrade attempt was that the Monitoring Engine was broke but nothing on the home screens indicated this, everything showed green. Even in System Status.
--
Going to Admin/Monitoring Engine Status revealed the failure, and I could not start the monitoring engine.
Lucky the restore process works.
(Good to know the postgress restore errors are normal.)
Do you have any ideas on what I should be looking for?
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Wed May 28, 2014 9:45 am
by abrist
First of all, how are you forcing ssl? Through rewrites rules, redirects, or disabling the virtualhost on port 80?
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Wed May 28, 2014 10:37 am
by atuttle
As described in the document from Nagios: Configuring_SSL_with_Nagios_XI.pdf
Re: Upgraded to 2014R1.0: 'Network Outages' Unable to parse
Posted: Wed May 28, 2014 1:13 pm
by lmiltchev
Are you using Mod gearman or mk-livestatus? Did ndo2db upgrade to 2.0.0?
Code: Select all
/usr/local/nagios/bin/ndo2db | head -2