Help with NRDS?

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

Re: Help with NRDS?

Post by jbennett »

ok - it's happened again. I've been in and out of the config on the nagios box quite a bit this morning. Things were syncing just fine and we were humming along tweaking things to get our checks right. Now though, I'm not getting the sync and the /tmp/clients/nrds/nrds.cfg file has reverted back to version 1 with a date of the initial config sync (all of the other files in the folder have the same date/time as well). I show version 3.8 in the Nagios NRDS config interface. I'm pretty lost now.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Help with NRDS?

Post by lmiltchev »

Send us an email to [email protected] with the following info:
1. What is the name of the config in question (the one that has reverted back to version 1)?
2. Run the following commands on the server:

Code: Select all

tar zcvf server-configs.tar.gz /usr/local/nrdp/configs
3. Run the following commands on the client:

Code: Select all

tar zcvf client-nrds.tar.gz /usr/local/nrdp/clients/nrds
4. Send us both, the "server-configs.tar.gz" and the "client-nrds.tar.gz" files that were generated by the above commands.
5. Put "Re: Help with NRDS" in the subject of your email.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

NOTE: Now that I see your requested commands, I see that the nrds.cfg file is updated in the /usr/local/nrdp/clients/nrds directory. I have been checking /tmp/clients/nrds directory all along. (I swear the /tmp/clients/nrds file changed...unless I'm losing my mind?)

When I diff the files .cfg files that you requested, they are identical. If you would like to see them, I'll send them on anyways.

What's interesting is that I can make changes to the configs and it will show up in unconfigured objects. I have added lines, edited service names, and even made changes to lines for checks. These changes are reflected in the results that Nagios shows.

I have tried deleting the current services that show up under the host in Nagios in order to 'start fresh', especially on items where I've changed the name of the service to be used.

However, I have also removed lines of checks and removed those services from Nagios as well once I've removed them from the configs. Those checks show back up under the unconfigured objects.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

jbennett wrote:What's interesting is that I can make changes to the configs and it will show up in unconfigured objects. I have added lines, edited service names, and even made changes to lines for checks. These changes are reflected in the results that Nagios shows.
This means it is working properly
jbennett wrote:However, I have also removed lines of checks and removed those services from Nagios as well once I've removed them from the configs. Those checks show back up under the unconfigured objects.
You likely need to do this in the reverse order,
1. make changes in the NRDS Config Manager
2. Wait for the config to be deployed
3. Remove "extra" items from unconfigured objects
4. add any new items found in unconfigured objects

As it is working as expected, I will be locking this topic. If you have a new particular issue, please feel free to start a new thread.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked