On 6 July 2010 17:20, dave stern - e-mail.pluribus.unum <[email protected]> wrote: > I've got NSClient++ installed on a number of Windows XP and > W2K servers reporting on such things as disk utilization, memory, > load. This all works fine. I'd like to take it to the next level defining > my own external scripts. But the examples all show using the > command, check_nrpe on the linux/nagios side. > > Can't they be run under check_nt > (something like $USER1$/check_nt -p 12489 -H $HOSTADDRESS$ -s mysecret > -v check_something) > Or must I also install check_nrpe on the linux side? And if so, do I need > to install the windows nrpe as well? > > On the Windows side, the config file is basically the default with the > following additions to the > "[External Scripts]" section: > > check_something=C:\myscripts\check_something.vbs > check_test=C:\myscripts\psloggedon.exe > > TIA
"nrpe" stands for "Nagios Remote Plugin Executor" or something like that. NSClient++ as well as doing lots of other things will listen for and (if configured to do so) respond to nrpe requests. In Nagios, the "check_nrpe" plugin is used to request remote execution of a plugin and to receive the result. Put simply, if you want to run a plugin and get the result but the plugin is actually run on the remote (in this case Windows) server rather than the local Nagios server you use nrpe. You don't need to install the nrpe daemon on the Nagios side, but you do need to use the check_nrpe plugin to query the other systems. The relevant page in the documentation is http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe but to be honest if you want a really good head start in understanding Nagios I recommend the book "Nagios" by Wolfgang Barth published by NoStarch Press. No doubt there are other good books around and I'm not up to date with the latest but I found that one really helpful myself. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
