Page 9 of 9

Re: Help with NRDS?

Posted: Thu May 16, 2013 12:07 pm
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.

Re: Help with NRDS?

Posted: Thu May 16, 2013 1:45 pm
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.

Re: Help with NRDS?

Posted: Thu May 16, 2013 3:07 pm
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.

Re: Help with NRDS?

Posted: Thu May 16, 2013 3:48 pm
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.