Page 1 of 1

Some Questions on NRDS

Posted: Wed Dec 05, 2012 10:19 am
by sikainfo
Hi,
I'm playing around with NRDS, all our windows servers are monitored with nsclient++/nrpe.
Now I would like to replace on at least some of them nsclient++ with NRDS.

Questions:
- is it possible to distribute plugins with NRDS, and if yes where do I have to place the plugins on the server?
- the checks which where used before with nrpe, can I setup the same checks with NRDS and how (eg. external scripts, integrated checks, ...)
- same question for Linux/Unix platforms
- How do I update the NRDS Agent on the Windows-Servers ?

Problem:
- Update button under Admin - Components does not work!

Regards Andy

Re: Some Questions on NRDS

Posted: Wed Dec 05, 2012 10:48 am
by scottwilkerson
sikainfo wrote:is it possible to distribute plugins with NRDS, and if yes where do I have to place the plugins on the server?
Yes.
Plugins go in the appropriate sub-directory of /usr/local/nrdp/plugins
sikainfo wrote: the checks which where used before with nrpe, can I setup the same checks with NRDS and how (eg. external scripts, integrated checks, ...)
Yes, as long as you have the plugin in the correct directory above it should work fine.
sikainfo wrote: - same question for Linux/Unix platforms
same answers... as above
sikainfo wrote:How do I update the NRDS Agent on the Windows-Servers ?
You can download the new agent from
http://exchange.nagios.org/directory/Ad ... in/details
sikainfo wrote:Problem:
- Update button under Admin - Components does not work!
This is a known issue that will be fixed in 2012R1.3 but if you leave the page and then go back you should be able to upload the plugin if you do not click "Check for Updates" first

Re: Some Questions on NRDS

Posted: Thu Dec 06, 2012 4:57 am
by sikainfo
Hi Scott,
sorry even if you think this are silly questions ...

if I would like to use the commands below within NRDS, i must have installed also NSClient++ on the monitored server or not?
Have you an example for commands like this ?
Using Plugins direct like the delivered examples in the installation are clear, but these checks below aren't clear how to implement for me.

$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c CheckDriveSize -a ShowAll=long CheckAll FilterType=FIXED FilterType=REMOTE
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ -d SHOWALL -l $ARG2$

Thanks Andy

Re: Some Questions on NRDS

Posted: Fri Dec 07, 2012 10:56 am
by yancy
sikainfo,

NRDS has not built in commands. Just uses any plugins you write or define.

So if you wanted to check drive space it would be:

command[nrpe_diskspace] = $PLUGIN_DIR$\check_pdm.exe --disk --drive C: -w 97.5 -c 99.5

here is the check_pdm.exe plugin link

https://www.itefix.no/i2/check_pdm

Re: Some Questions on NRDS

Posted: Mon Dec 10, 2012 9:23 am
by sikainfo
Hi,
thank you for this information so far and the link to this plugin.
Regards Andy