Re: New NRPE error - error receiving data from daemon
Posted: Mon Mar 04, 2013 3:38 pm
Please, run the command again, and post the whole output:
Code: Select all
/usr/sbin/nrpe -VSupport for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
/usr/sbin/nrpe -Vlmiltchev wrote:Please, run the command again, and post the whole output:
Code: Select all
/usr/sbin/nrpe -V
Code: Select all
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
TCP Wrappers Available
***************************************************************
** POSSIBLE SECURITY RISK - COMMAND ARGUMENTS ARE SUPPORTED! **
** Read the NRPE SECURITY file for more information **
***************************************************************
Usage: nrpe [-n] -c <config_file> <mode>
Options:
-n,--no-ssl = Do not use SSL
<config_file> = Name of config file to use
<mode> = One of the following two operating modes:
-i,--inetd Run as a service under inetd or xinetd
-d,--daemon Run as a standalone daemon
-h,--help Print this short help.
-l,--license Print licensing information.
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.
You have new mail in /var/mail/root
root@tribbleNet1-3:/etc/nagios# /usr/sbin/nrpe -V
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
TCP Wrappers Available
***************************************************************
** POSSIBLE SECURITY RISK - COMMAND ARGUMENTS ARE SUPPORTED! **
** Read the NRPE SECURITY file for more information **
***************************************************************
Usage: nrpe [-n] -c <config_file> <mode>
Options:
-n,--no-ssl = Do not use SSL
<config_file> = Name of config file to use
<mode> = One of the following two operating modes:
-i,--inetd Run as a service under inetd or xinetd
-d,--daemon Run as a standalone daemon
-h,--help Print this short help.
-l,--license Print licensing information.
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.
Code: Select all
which opensslCode: Select all
/usr/bin/opensslCode: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.10.0.102
/usr/local/nagios/libexec/check_nrpe -H 10.10.0.102 -t 30 -c check_users -a '-w 5 -c 10'scottwilkerson wrote:remove the -n from $ARG2$ for each of the services
Apply Configuration
Just for testing lest run this from the commandline on the XI server and return both results
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.10.0.102 /usr/local/nagios/libexec/check_nrpe -H 10.10.0.102 -t 30 -c check_users -a '-w 5 -c 10'
Yeah it looks like that might have done it. I'm waiting till all my services run through their checks to make sure. Awesome thanks people.abrist wrote:Eureka, looks like it is working. Change your check in XI to match the check from the cli that worked. Report back.