xi 2012R1.0 Breaks monitoring another Nagios xi server

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL

xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by GldRush98 »

We are monitoring our main xi server with a secondary xi server.
I upgraded the secondary xi server to 2012R1.0 today, and it seems to have broken the xi server monitoring.
I have also upgraded the main xi server to 2012R1.0 hoping it might start working again, but it did not.
I also tried removing the services and host from the secondary server, and re-adding them using the Nagios xi config wizard, but this also did not work.
Image1.png
Any ideas?
You do not have the required permissions to view the files attached to this post.
Dev & Prod xi: Debian 12 - Nagios xi 2024R1.3
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by lmiltchev »

Can you check the apache logs on both machines and see if there is something there that can point us to the right direction?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by GldRush98 »

Seeing this in access_log on the main xi server... this would be happening when the check is coming from the secondary server:

Code: Select all

xx.xx.xx.xx - - [10/Oct/2012:11:27:31 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:11:27:36 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:11:27:39 -0500] "\x16\x03\x01" 302 2538 "-" "-"
(I redacted our external IP there)

Not seeing anything else relevant pop up in access_log or error_log when running the check.

Note: My main xi server that is being checked uses https
Dev & Prod xi: Debian 12 - Nagios xi 2024R1.3
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by lmiltchev »

Can you also check the "/var/log/httpd/ssl_access_log"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by GldRush98 »

For whatever reason, it is empty.
Dev & Prod xi: Debian 12 - Nagios xi 2024R1.3
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by mguthrie »

There should be some php error output on one of the machine in the /var/log/httpd/error_log related to these checks.
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by GldRush98 »

This is the only thing I am seeing when running the check...
This is showing up on the main xi server...
error_log:

Code: Select all

[Wed Oct 10 14:46:59 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:00 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:00 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:00 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:01 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:01 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
[Wed Oct 10 14:47:02 2012] [error] [client xx.xx.xx.xx] PHP Notice:  Undefined index:  HTTP_HOST in /var/www/html/index.php on line 4
access_log:

Code: Select all

xx.xx.xx.xx - - [10/Oct/2012:14:48:33 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:35 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:38 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:38 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:38 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:38 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:39 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:39 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:39 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:39 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:40 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:40 -0500] "\x16\x03\x01" 302 2538 "-" "-"
xx.xx.xx.xx - - [10/Oct/2012:14:48:40 -0500] "\x16\x03\x01" 302 2538 "-" "-"
My guess is it has to do with running https on the main Nagios server... but I don't get why everything worked fine in 2011, but when I upgraded the secondary server to 2012 it broke. Hmmm...
Dev & Prod xi: Debian 12 - Nagios xi 2024R1.3
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by mguthrie »

How about the error log on the remote machine? (The one that the checks are running against)
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by GldRush98 »

Sorry, I should be more clear about my terminology...
Main xi server = Our xi server with all of our hosts we monitor on it.
Secondary xi Server = This server only monitors the main xi server.

Those logs are from the main server (the one being checked).
Nothing shows up in the secondary server's logs when it is running the check.

It broke when I upgraded the secondary to 2012. The main xi server was still on 2011. I then upgraded the main xi to 2012 thinking it might resolve the issue, but no go.
Dev & Prod xi: Debian 12 - Nagios xi 2024R1.3
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: xi 2012R1.0 Breaks monitoring another Nagios xi server

Post by mguthrie »

We'll run some tests and see if we can recreate this...