Determine what NRDS config a Host has? (From server)
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
Determine what NRDS config a Host has? (From server)
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)
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)
But how do I tell which configuration some particular host is actually using?
Re: Determine what NRDS config a Host has? (From server)
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)
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
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)
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?
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)
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
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