NRDS not syncing/updating on hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

NRDS not syncing/updating on hosts

Post by jbennett »

I have recently noticed that my NRDS configs aren't updating on my clients after I make changes to the NRDS config files from within Nagios.

I've also noticed that I haven't been getting the updated check results on the time frame I have requested.

I manually went back and installed and configured the updated NRDS configs on a set of clients which then they started reporting within the time frame I had set the cront for.

I have two questions here:

A) Why wouldn't Nagios be pushing the updated configs out to my clients? (Nagios NRDS config was on version 2.4, while nrds.cfg on the client showed version 2.1.
B) Why wouldn't Nagios be getting the check results on the time frame I set them up for? Is it because there's a mismatch int eh config versions?
C) How can I monitor this in the future to make sure we are using the correct configs and are getting the check results in the time frame I'm requesting them in?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS not syncing/updating on hosts

Post by lmiltchev »

A) Why wouldn't Nagios be pushing the updated configs out to my clients? (Nagios NRDS config was on version 2.4, while nrds.cfg on the client showed version 2.1.
Have you made any changes on the server or on the client machine?
B) Why wouldn't Nagios be getting the check results on the time frame I set them up for? Is it because there's a mismatch int eh config versions?
It is possible.
C) How can I monitor this in the future to make sure we are using the correct configs and are getting the check results in the time frame I'm requesting them in?
We need to find out what is causing this first in order to prevent it from happening in the future.

Run the following commands:

on the server:

Code: Select all

tar zcvf server-configs.tar.gz /usr/local/nrdp/configs
on the client:

Code: Select all

tar zcvf client-nrds.tar.gz /usr/local/nrdp/clients/nrds
Email us both, the "server-configs.tar.gz" and the "client-nrds.tar.gz" files that were generated by the above commands at [email protected]. Put "NRDS not syncing/updating on hosts" in the subject line.
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDS not syncing/updating on hosts

Post by scottwilkerson »

A & B) This comes down to understanding how NRDS works. NRDS doesn't "push" configs, what actually happens is the agent installed on the client "requests" newer versions of the config when it runs. If it is a *nix system NRDS should be running on cron. If it is a Windows system, it should have a task scheduled. So this makes sense that you were not getting results at the same time you were not getting updates.

C) What most people do is is setup freshness checking on the passive checks alerting if a check hasn't been received since XXX seconds
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: NRDS not syncing/updating on hosts

Post by jbennett »

lmiltchev wrote:Email us both, the "server-configs.tar.gz" and the "client-nrds.tar.gz" files that were generated by the above commands at [email protected]. Put "NRDS not syncing/updating on hosts" in the subject line.
Done.
scottwilkerson wrote:C) What most people do is is setup freshness checking on the passive checks alerting if a check hasn't been received since XXX seconds
With the number of service checks and hosts on our system, using the bulk update tool is my only real option here. I have enabled freshness checking on all of them, but without going into each one manually and setting a time, I can only hope that the system will determine this value automatically, as the documentation states. Is this the case?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS not syncing/updating on hosts

Post by lmiltchev »

A new ticket has been open in our ticketing system. We will continue communicating via email. I am lock this thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked