Page 1 of 1

Determine what NRDS config a Host has? (From server)

Posted: Fri Jul 12, 2013 9:54 am
by matt.uebel
Other than checking the NRDS config.ini file on the host, is there a way to determine which config file that host is using? I have examined the Server, but have been unable to find this information there.

Re: Determine what NRDS config a Host has? (From server)

Posted: Fri Jul 12, 2013 9:58 am
by slansing
In nagios XI navigate to Admin > NRDS Config Manager > you can see all of the configurations here.

Re: Determine what NRDS config a Host has? (From server)

Posted: Fri Jul 12, 2013 12:01 pm
by matt.uebel
But how do I tell which configuration some particular host is actually using?

Re: Determine what NRDS config a Host has? (From server)

Posted: Fri Jul 12, 2013 12:16 pm
by jbennett
I'd like to echo this. Without logging into the client and viewing teh nrds.cfg file manually, I haven't found a way to tell which .cfg file the client is using from the Nagios server directly (centrally located information really).

Re: Determine what NRDS config a Host has? (From server)

Posted: Fri Jul 12, 2013 1:15 pm
by yancy
matt,

A quick nagios plugin could be used which would return the version number as a service check or host check. Which NRDS client are you currently using?

Thanks,

-Yancy

Re: Determine what NRDS config a Host has? (From server)

Posted: Tue Jul 16, 2013 7:17 am
by matt.uebel
Hi Yancy,

We are using the Basic NRPE_NT Plugins:
http://exchange.nagios.org/directory/Pl ... ns/details

Do you know of a good starting doc on writing Nagios NRDS plugins?

Re: Determine what NRDS config a Host has? (From server)

Posted: Tue Jul 16, 2013 11:00 am
by yancy
Hi matt,

I put together a plugin for use with NRDS_Win that will let you return any value from the config.

Here is a sample config if you w:
http://assets.nagios.com/downloads/nrdp ... config.ini

This will return the current config version as part of the host check.

Here is a link to the check on exchange:
http://exchange.nagios.org/directory/Pl ... ig/details

**Note** you will need the latest version of NRDS_Win for this to work
http://exchange.nagios.org/directory/Ad ... in/details

-Yancy