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?
NRDS not syncing/updating on hosts
Re: NRDS not syncing/updating on hosts
Have you made any changes on the server or on the client machine?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.
It is possible.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?
We need to find out what is causing this first in order to prevent it from happening in the future.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?
Run the following commands:
on the server:
Code: Select all
tar zcvf server-configs.tar.gz /usr/local/nrdp/configsCode: Select all
tar zcvf client-nrds.tar.gz /usr/local/nrdp/clients/nrdsBe 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
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
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
Re: NRDS not syncing/updating on hosts
Done.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.
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?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
Re: NRDS not syncing/updating on hosts
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!