Help with NRPE 2.0

James M. Albright jalbr at groupwise.umn.edu
Wed Oct 1 19:49:52 CEST 2003


MiWi ,

Here is what my NagiosHost#check_nrpe -v looks like
----------------------------------------------------------------------
NRPE Plugin for Nagios
Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

Usage: check_nrpe -H <host> [-p <port>] [-t <timeout>] [-c <command>]
[-a <arglist...>]

Options:
 <host>     = The address of the host running the NRPE daemon
 [port]     = The port on which the daemon is running (default=5666)
 [timeout]  = Number of seconds before connection times out
(default=10)
 [command]  = The name of the command that the remote daemon should
run
 [arglist]  = Optional arguments that should be passed to the command. 
Multiple
              arguments should be separated by a space.  If provided,
this must be
              the last option supplied on the command line.

Note:
This plugin requires that you have the NRPE daemon running on the
remote host.
You must also have configured the daemon to associate a specific plugin
command
with the [command] option you are specifying here.  Upon receipt of
the
[command] argument, the NRPE daemon will run the appropriate plugin
command and
send the plugin output and return code back to *this* plugin.  This
allows you
to execute plugins on remote hosts and 'fake' the results to make
Nagios think
the plugin is being run locally.
-----------------------------------------------------------------------------------------------------------

And my NRPEHost#nrpe looks like 

-----------------------------------------------------------------------------------------------------------
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org)
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)

Usage: nrpe -c <config_file> <mode>

Options:
 <config_file> = Name of config file to use
 <mode>        = One of the following two operating modes:
   -i          =    Run as a service under inetd or xinetd
   -d          =    Run as a standalone daemon

Notes:
This program is designed to process requests from the check_nrpe
plugin on the host(s) running Nagios.  It can run as a service
under inetd or xinetd (read the docs for info on this), or as a
standalone daemon. Once a request is received from an authorized
host, NRPE will execute the command/plugin (as defined in the
config file) and return the plugin output and return code to the
check_nrpe plugin.
-----------------------------------------------------------------------------------------

On both the boxes I ran ./configure --disable-ssl, thinking this would
disable the SSL on both boxes.

Thanks for taking time out of your day to help me 
Jim A.




This e-mail and its attachments have been scanned for viruses.
OIT/NDIS -  University of Minnesota



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list