This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Tue Oct 20, 2015 6:29 pm
ssax wrote: For the check_nagiosxiserver.php one:
It looks like the body and headers are empty from the debug output that you posted, the script uses curl to access the data, the http_code of 0 usually means that it had trouble connecting.
Back up your current /usr/local/nagios/libexec/check_nagiosxiserver.php, replace it with the one attached, force the check and then post the output from the XI interface.
Thank you
I was changing the worker configuration from 2 to 1 for another problem
https://support.nagios.com/forum/viewto ... 64#p157764
Suddenly the services became ok while nagios was restarting??
The strange thing is these checks are not using gearman.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Tue Oct 20, 2015 6:57 pm
rajasegar wrote: I was changing the worker configuration from 2 to 1 for another problem
viewtopic.php?f=16&t=35138&p=157764#p157764
Suddenly the services became ok while nagios was restarting??
The strange thing is these checks are not using gearman.
Does changing it back make the problem re-occur.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Tue Oct 20, 2015 7:08 pm
Box293 wrote: rajasegar wrote: I was changing the worker configuration from 2 to 1 for another problem
viewtopic.php?f=16&t=35138&p=157764#p157764
Suddenly the services became ok while nagios was restarting??
The strange thing is these checks are not using gearman.
Does changing it back make the problem re-occur.
I will check when there is a downtime.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Wed Oct 21, 2015 9:04 am
Let us know.
Thanks.
Former Nagios Employee.
me.
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Wed Oct 21, 2015 6:26 pm
hsmith wrote: Let us know.
Thanks.
The checks is still ok after I changed the worker count back to 2.
So still no idea how this problem vanished.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Wed Oct 21, 2015 7:26 pm
Perhaps there were multiple nagios processes running?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Wed Oct 21, 2015 7:32 pm
Box293 wrote: Perhaps there were multiple nagios processes running?
Multiple nagios only impacting check_esx3 and check_nagiosxiserver.php?
Next time I will double check this.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Thu Oct 22, 2015 2:47 pm
It's certainly possible, especially with checks that write temp files to maintain state between runs, or otherwise touch things outside of their own memory.
Former Nagios employee
rajasegar
Posts: 1018 Joined: Sun Mar 30, 2014 10:49 pm
Post
by rajasegar » Thu Oct 22, 2015 7:01 pm
tmcdonald wrote: It's certainly possible, especially with checks that write temp files to maintain state between runs, or otherwise touch things outside of their own memory.
Ok. Wonder why nagios does not check before starting multiple instance. It would be easier this way.
Anyway please close this case.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation