Error: Could not parse XML from https://serve_name/nagiosxi/

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Error: Could not parse XML from https://serve_name/nagio

Post by dwhitfield »

Is it possible you ran a monitoring wizard as HTTP and are not trying to access via HTTPS? Depending on what version you are running, that could cause the port # to be wrong. If it was hand-coded, maybe the port just got messed up. It seems all of the posts on the forum with that error are somehow related to SSL not being configured properly, often it seems with multiple XI servers. Not sure if that's the case here.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error: Could not parse XML from https://serve_name/nagio

Post by tgriep »

Can you login to both XI servers in the GUI interface?
Can you login to both servers as root in a command prompt?
Could you PM in your Nagios XI System Profile so we can review it?
To send us your system profile. login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and PM it back to us.
Be sure to check out our Knowledgebase for helpful articles and solutions!
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

I got the command to execute. Unfortunately I would have to hand type the output as there is no way to paste it here. I ran this on a working server and I see there is alot of output.

For the server that is NOT working I have:

Array
(
[hearders] => Array
(
)

[body] =>

EVERYTHING ABOVE IS EMPTY
EVERYTHING BELOW IN THE [INFO] BLOCK HAS 0 FOR THE VALUE EXCEPT [namelookup_time] => 0.0000128, [connect_time] => 0.000 555[download_content_legnth] => -1, [upload_content_legnth] => -1


[info] => Array
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

Any thoughts?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Error: Could not parse XML from https://serve_name/nagio

Post by dwhitfield »

Looks like you might not have seen my update yesterday:

Is it possible you ran a monitoring wizard as HTTP and are not trying to access via HTTPS? Depending on what version you are running, that could cause the port # to be wrong. If it was hand-coded, maybe the port just got messed up. It seems all of the posts on the forum with that error are somehow related to SSL not being configured properly, often it seems with multiple XI servers.
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

Can someone at least let me know that they are no lower assisting with this post?
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

Didnt realize there was a page 2. Im reading now.
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

Can you login to both XI servers in the GUI interface? Yes
Can you login to both servers as root in a command prompt? Yes
Could you PM in your Nagios XI System Profile so we can review it? NO sandboxed
To send us your system profile. login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and PM it back to us.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error: Could not parse XML from https://serve_name/nagio

Post by tgriep »

On the server that is failing, take a look at the Apache log files to see if there are any errors there that can help out.
Look in /var/log/httpd folder.
Another thing to try is to create a new admin account with a new API key on the bad server and use that account when running the check.
Other than that, we will need to see more information to help out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
taandrews
Posts: 93
Joined: Thu Mar 10, 2016 1:55 pm

Re: Error: Could not parse XML from https://serve_name/nagio

Post by taandrews »

I have ckeck all logs in /var/log/httpd - Nothing is being printed to the log when using the new nagiosadmin's ticket. I am sure you guys with customer who can not send you their log files for various reasons. I am who cannot. The only error literally is "Could not parse XML from https://serve_name/nagiosxi/"
Locked