Page 1 of 1

Nagios stops receiving passive checks

Posted: Wed Dec 12, 2012 5:22 am
by Jello_B
Hi,
I'm evaluating Nagios XI and I have a strange problem. My configuration is:
Nagios XI
Site A - Active agents
Site B - Passive agents sent through internet (34 hosts)
Site C - Passive agents sent through internet (5 hosts)
Site D - Passive agents sent through internet (2 host)

Sometimes all passive agents sent by site B seems to get lost: all services become red because Nagios does not receive fresh data.
At the same time:
-All other sites (A, C and D) works correctly.
-Using netstat I can see NSCA trafic incoming from the public IP of site B
-rebooting Nagios usually solves the problem

I've increased the interval of the check from 2m to 4m and this seems to mitigate the problem, is there something that can be done to solve it?

Thanx

Re: Nagios stops receiving passive checks

Posted: Wed Dec 12, 2012 11:09 am
by scottwilkerson
What you will need to do is edit the /etc/xinetd.d/nsca file on the XI server to include the following lines

Code: Select all

per_source = UNLIMITED
instances = UNLIMITED
add them between { and }

Then restart xinetd

Code: Select all

service xinetd restart

Re: Nagios stops receiving passive checks

Posted: Thu Dec 13, 2012 3:07 am
by Jello_B
Great!
I've tried during a all-is-red moment and after restarting xinetd, passive checks return to work.
This morning, Nagios is working smoothly, so the problem seems solved. I'll keep it monitored.

Thanks a lot!
Gaetano