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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

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

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post by slansing »

In nagios XI navigate to Admin > NRDS Config Manager > you can see all of the configurations here.
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

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

Post by matt.uebel »

But how do I tell which configuration some particular host is actually using?
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

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

Post 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).
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

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

Post 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
matt.uebel
Posts: 84
Joined: Thu Jun 20, 2013 7:43 am

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

Post 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?
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

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

Post 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
Locked