NRDS configurations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

NRDS configurations

Post by kendallchenoweth »

I'm using Nagios XI 2012R2.5 on a Centos VM provided by Nagios and have created a NRDS config which passively runs a command on the client server. I'd like to create a a configuration that can be applied to multiple systems. The basic setup is working now, but I have a couple of (hopefully) easy questions about this.

Versioning
I noticed that configurations are versioned. Great!
How can I retrieve a previous configuration version?
If, and when, I do, how do I distribute that previous version to a single client?
If I roll back to a version, must all hosts using this configuration roll back to that version?
Is the process manual or automatic?


Multiple configs for client
It looks like only one NRDS configuration is allowed per client, since that NRDS configuration file is specified in the nrds.cfg file. Is this true? Is there a way I can distribute mulitple configuration files to a single client?

Thanks in advance for your help!

-Kendall Chenoweth
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS configurations

Post by lmiltchev »

Versioning
I noticed that configurations are versioned. Great!
How can I retrieve a previous configuration version?
If, and when, I do, how do I distribute that previous version to a single client?
If I roll back to a version, must all hosts using this configuration roll back to that version?
Is the process manual or automatic?
You cannot revert to an older version. You can modify the config under the NRDS Config Manager in Nagios XI, using the "older version settings", and click on "Save" or "Apply". This will save the config with new version that client machines will pick up. However, you cannot go "backwards".
Multiple configs for client
It looks like only one NRDS configuration is allowed per client, since that NRDS configuration file is specified in the nrds.cfg file. Is this true? Is there a way I can distribute mulitple configuration files to a single client?
Absolutely. When you click on the "Client Install Instructions" under the NRDS Config Manager, you will see a few commands, that you can copy/paste/run on various client machines. When you update the config in Nagios XI, it will get automatically updated on ALL clients as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: NRDS configurations

Post by kendallchenoweth »

Can more than one nrds client_config exist on a single client?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS configurations

Post by lmiltchev »

I am sorry - I misunderstood your question. I don't believe this is possible at the moment. Why do you need this functionality? What exactly do you wish to accomplish?
Be sure to check out our Knowledgebase for helpful articles and solutions!
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: NRDS configurations

Post by kendallchenoweth »

I want to understand the flexibility of the nrds passive capability. Can I

1) provide a common config file to a set of clients (yes, I can) as well as provide an additional unique config file to a particular client in the previous set with "extra" arguments or

2) only provide a single config file to a single client?

If the latter, then I can still accomplish what I want by using a common config file to a set of clients (say "common_linux") and, if there is an exception, copy "common_linux" to "linux_host-xyz" and distribute that unique config to host xyz. The drawback of this method is that if I change something to the "common_linux" config, I have to also change it in "linux_host-xyz".

Thanks for your help!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRDS configurations

Post by slansing »

Currently NRDS pulls down the single configuration file and new plugins that it is pointed to if there have been changes made to the file on the nagios XI server, this serves two purposes.

1) To update command definitions for new commands you have added "if the option is enabled" so you don't have to manually change the configuration on your remote host

2) To pull in additional plugins "if the option is enabled" that your new commands will be using

You cannot set a remote host to use multiple configuration files currently, but you should be able to use the same configuration file on the NRDS server "nagios" for multiple remote hosts.
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

Re: NRDS configurations

Post by kendallchenoweth »

Thanks for the clarification. I really appreciate your patience and assistance. I'm all set and you can close this issue.
Locked