Nagios stops receiving passive checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Jello_B
Posts: 2
Joined: Tue Nov 27, 2012 10:35 am

Nagios stops receiving passive checks

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios stops receiving passive checks

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Jello_B
Posts: 2
Joined: Tue Nov 27, 2012 10:35 am

Re: Nagios stops receiving passive checks

Post 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
Locked