Thanks abrist.
How I can check if I started nrpe?
If I do in hpux machine
ps-ef | grep nagios
nagios 4117 1 0 17:57:36? 0:00 / opt / iexpress / nagios / bin / nagios-d / opt / iexpress / nagios / etc / nagios.cfg
nagios 15569 21179 0 18:03:54 pts / 0 0:00 grep nagios
but If I do in hpux machine
ps-ef | grep nrpe
nagios 17251 21179 0 18:04:39 pts / 0 0:00 grep nrpe
I understand that he is running because the devil run from nagios:
. / check_nrpe-H ip.machine.hpux
NRPE v2.12
But, how do I reset it?
/opt/iexpress/nagios/bin> ls
nagios nagiostats nrpe nsca
centauro(root):/opt/iexpress/nagios/bin> ./nrpe start
NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2008 Ethan Galstad (
[email protected])
Version: 2.12
Last Modified: 03-10-2008
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
***************************************************************
** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! **
** Read the NRPE SECURITY file for more information **
***************************************************************
Usage: nrpe [-n] -c <config_file> <mode>
Options:
-n = Do not use SSL
<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.
centauro(root):/opt/iexpress/nagios/bin> ./nrpe -i
root 27169 14248 1 18:09:57 pts/4 0:00 grep nrpe
centauro(root):/opt/iexpress/nagios/bin> ./nrpe -d
centauro(root):/opt/iexpress/nagios/bin> ps -ef | grep nrpe
root 27929 14248 1 18:10:12 pts/4 0:00 grep nrpe
The error in nagios continue...
Thanks for your time abrist