Page 1 of 1

Nagios Federated Monitoring

Posted: Thu May 30, 2013 11:29 am
by EngineerTom
I am attempting to test a distributed nagios system to monitor our client sites. A Nagios XI server on each site to monitor what's there and then sending this information as NSCA passive checks to another central XI server.

It was my impression that setting up the client system with outbound transfers (NSCA) and the central one with inbound transfers (NSCA) would allow this and they would be seen in Unconfigured objects and be ready to monitor... nothing comes up though.

Am I missing something? Can someone help?

Thank you in advance.

Edit: I am attempting to use NSCA, not NRDS.

Re: Nagios Federated Monitoring

Posted: Thu May 30, 2013 12:52 pm
by slansing
Just for a little verification, can you run through the following doc's to ensure that everything is set correctly?:

http://assets.nagios.com/downloads/nagi ... ith_XI.pdf

http://assets.nagios.com/downloads/nagi ... ith_XI.pdf

Re: Nagios Federated Monitoring

Posted: Thu May 30, 2013 3:01 pm
by EngineerTom
Yes, these documents have been followed to the letter and attempted using both NRDS and NSCA.

Using NRDS the checks are submitted to the central server and seen in unconfigured object but they do not appear within any views, although the entry is seen in CCM.

NSCA shows nothing.

Re: Nagios Federated Monitoring

Posted: Thu May 30, 2013 5:05 pm
by abrist
EngineerTom wrote: Using NRDS the checks are submitted to the central server and seen in unconfigured object but they do not appear within any views, although the entry is seen in CCM.
If they are appearing in unconfigured objects, then their respective checks have not been configured correctly in the CCM.
EngineerTom wrote:NSCA shows nothing.
Grep the messages file for the ip address of one of the nsca hosts:

Code: Select all

grep <ip of remote host> /var/log/messages
or for nsca checks in general:

Code: Select all

grep nsca /var/log/messages

Re: Nagios Federated Monitoring

Posted: Mon Jun 03, 2013 4:17 am
by EngineerTom
If they are appearing in unconfigured objects, then their respective checks have not been configured correctly in the CCM.
Deleted and re-added, seems good.
grep nsca /var/log/messages
Nothing shown...

Re: Nagios Federated Monitoring

Posted: Mon Jun 03, 2013 4:24 pm
by scottwilkerson
On the XI server can you run

Code: Select all

netstat -an|grep 5667
and report the output

Also can you verify the following line contains the sending servers IP address

Code: Select all

cat /etc/xinetd.d/nsca|grep only_from
+