[Nagios-users] NRPE: No output returned from plugin error
Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE on any Centos host and this is true with all plugins - all of them does not return anything. I turned on debug at one Centos host but still it does not show me anything, when I run from nagios host: ./check_nrpe -H centos.host.com -c check_load I always get NRPE: Unable to read output and there is nothing in syslog at agent's host in spite of debug is on. My assumption was that command definitions on Centos host side use path to plugins that is different from Debian, for example: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Debian host] command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Centos host] but I made symbolic link so that plugins could be called by the same path - it didn't help. When I run command locally, all works just fine: su nrpe -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.28, 0.97, 0.97|load1=1.280;15.000;30.000;0; load5=0.970;10.000;25.000;0; load15=0.970;5.000;20.000;0; while from nagios server: ./check_nrpe -H centos.host.com -c check_load NRPE: Unable to read output The weird part of it is that all plugins work fine on debian hosts. Nagios uses the same host, service and command definitions for all monitored hosts (both debian and centos) and I really wonder what's wrong with centos nrpe agents :/ If anyone have any ideas, please try to help. P.S. I use Nagios server v.3 (from Debian lenny) and Nrpe agents versions are the same on Debian and Centos (v.2.12). -- best regards, Yuris Linux System Engineer, SMTP.com -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE on any Centos host and this is true with all plugins - all of them does not return anything. I turned on debug at one Centos host but still it does not show me anything, when I run from nagios host: ./check_nrpe -H centos.host.com -c check_load I always get NRPE: Unable to read output and there is nothing in syslog at agent's host in spite of debug is on. My assumption was that command definitions on Centos host side use path to plugins that is different from Debian, for example: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Debian host] command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Centos host] but I made symbolic link so that plugins could be called by the same path - it didn't help. When I run command locally, all works just fine: su nrpe -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.28, 0.97, 0.97|load1=1.280;15.000;30.000;0; load5=0.970;10.000;25.000;0; load15=0.970;5.000;20.000;0; while from nagios server: ./check_nrpe -H centos.host.com -c check_load NRPE: Unable to read output The weird part of it is that all plugins work fine on debian hosts. Nagios uses the same host, service and command definitions for all monitored hosts (both debian and centos) and I really wonder what's wrong with centos nrpe agents :/ If anyone have any ideas, please try to help. P.S. I use Nagios server v.3 (from Debian lenny) and Nrpe agents versions are the same on Debian and Centos (v.2.12). from first look it seems that one of your server has SSL installed on it and the other does not and nagios -by default - assumes ( command definitions) to use nrpe with ssl . Try to execute the command on the CentOS hosts , but add -n after the host IP , and see if that will help . Assaf -- Never,Ever Cut A Deal With a Dragon -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
Assaf Flatto wrote: yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE on any Centos host and this is true with all plugins - all of them does not return anything. I turned on debug at one Centos host but still it does not show me anything, when I run from nagios host: ./check_nrpe -H centos.host.com -c check_load I always get NRPE: Unable to read output and there is nothing in syslog at agent's host in spite of debug is on. My assumption was that command definitions on Centos host side use path to plugins that is different from Debian, for example: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Debian host] command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Centos host] but I made symbolic link so that plugins could be called by the same path - it didn't help. When I run command locally, all works just fine: su nrpe -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.28, 0.97, 0.97|load1=1.280;15.000;30.000;0; load5=0.970;10.000;25.000;0; load15=0.970;5.000;20.000;0; while from nagios server: ./check_nrpe -H centos.host.com -c check_load NRPE: Unable to read output The weird part of it is that all plugins work fine on debian hosts. Nagios uses the same host, service and command definitions for all monitored hosts (both debian and centos) and I really wonder what's wrong with centos nrpe agents :/ If anyone have any ideas, please try to help. P.S. I use Nagios server v.3 (from Debian lenny) and Nrpe agents versions are the same on Debian and Centos (v.2.12). from first look it seems that one of your server has SSL installed on it and the other does not and nagios -by default - assumes ( command definitions) to use nrpe with ssl . Try to execute the command on the CentOS hosts , but add -n after the host IP , and see if that will help . Assaf Clarification : ./check_nrpe -H centos.host.com -n -c check_load -- Never,Ever Cut A Deal With a Dragon -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
well, ./check_nrpe -H centos.host.com -n -c check_load CHECK_NRPE: Error receiving data from daemon and I see this in centos.host syslog nrpe[22928]: Error: Could not complete SSL handshake. 1 when issue command with -n option. -- wbr, yuris Assaf Flatto wrote: Assaf Flatto wrote: yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE on any Centos host and this is true with all plugins - all of them does not return anything. I turned on debug at one Centos host but still it does not show me anything, when I run from nagios host: ./check_nrpe -H centos.host.com -c check_load I always get NRPE: Unable to read output and there is nothing in syslog at agent's host in spite of debug is on. My assumption was that command definitions on Centos host side use path to plugins that is different from Debian, for example: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Debian host] command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Centos host] but I made symbolic link so that plugins could be called by the same path - it didn't help. When I run command locally, all works just fine: su nrpe -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.28, 0.97, 0.97|load1=1.280;15.000;30.000;0; load5=0.970;10.000;25.000;0; load15=0.970;5.000;20.000;0; while from nagios server: ./check_nrpe -H centos.host.com -c check_load NRPE: Unable to read output The weird part of it is that all plugins work fine on debian hosts. Nagios uses the same host, service and command definitions for all monitored hosts (both debian and centos) and I really wonder what's wrong with centos nrpe agents :/ If anyone have any ideas, please try to help. P.S. I use Nagios server v.3 (from Debian lenny) and Nrpe agents versions are the same on Debian and Centos (v.2.12). from first look it seems that one of your server has SSL installed on it and the other does not and nagios -by default - assumes ( command definitions) to use nrpe with ssl . Try to execute the command on the CentOS hosts , but add -n after the host IP , and see if that will help . Assaf Clarification : ./check_nrpe -H centos.host.com -n -c check_load -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
openssl installed on all hosts, so it seems unlikely that this is the reason.. -- wbr, yuris yuris wrote: well, ./check_nrpe -H centos.host.com -n -c check_load CHECK_NRPE: Error receiving data from daemon and I see this in centos.host syslog nrpe[22928]: Error: Could not complete SSL handshake. 1 when issue command with -n option. -- wbr, yuris Assaf Flatto wrote: Assaf Flatto wrote: yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE on any Centos host and this is true with all plugins - all of them does not return anything. I turned on debug at one Centos host but still it does not show me anything, when I run from nagios host: ./check_nrpe -H centos.host.com -c check_load I always get NRPE: Unable to read output and there is nothing in syslog at agent's host in spite of debug is on. My assumption was that command definitions on Centos host side use path to plugins that is different from Debian, for example: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Debian host] command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 [Centos host] but I made symbolic link so that plugins could be called by the same path - it didn't help. When I run command locally, all works just fine: su nrpe -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.28, 0.97, 0.97|load1=1.280;15.000;30.000;0; load5=0.970;10.000;25.000;0; load15=0.970;5.000;20.000;0; while from nagios server: ./check_nrpe -H centos.host.com -c check_load NRPE: Unable to read output The weird part of it is that all plugins work fine on debian hosts. Nagios uses the same host, service and command definitions for all monitored hosts (both debian and centos) and I really wonder what's wrong with centos nrpe agents :/ If anyone have any ideas, please try to help. P.S. I use Nagios server v.3 (from Debian lenny) and Nrpe agents versions are the same on Debian and Centos (v.2.12). from first look it seems that one of your server has SSL installed on it and the other does not and nagios -by default - assumes ( command definitions) to use nrpe with ssl . Try to execute the command on the CentOS hosts , but add -n after the host IP , and see if that will help . Assaf Clarification : ./check_nrpe -H centos.host.com -n -c check_load -- 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 Nagios-users@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 -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; *# 'check_nrpe' command definition define command{ command_namecheck_nrpe_no_ssl command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } * Then in your specific service definitions have the check_command line read; *check_command check_nrpe_no_ssl!put-whatever-plugin* Hope this helps. -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
This is what I did. Some of my servers have nrpe compiled with SSL and some without so I just created two commands in commands.cfg for it -- one to check with NRPE with SSL and one without. _ ___ / __ \ | / / ___/ Robert Wolfe robert.wo...@robertwolfe.org / /_/ / | /| / /\__ \ Robert Wolfe Software / _, _/| |/ |/ /___/ / Web : http://www.robertwolfe.org http://www.robertwolfe.org/ /_/ |_| |__/|__/// Debian Blog : http://debian.robertwolfe.org http://debian.robertwolfe.org/ From: Julius Kidubuka [mailto:juki.e...@gmail.com] Sent: Thu 7/1/2010 7:49 AM To: yu...@smtp.com; Nagios Users List Subject: Re: [Nagios-users] NRPE: No output returned from plugin error Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; # 'check_nrpe' command definition define command{ command_namecheck_nrpe_no_ssl command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } Then in your specific service definitions have the check_command line read; check_command check_nrpe_no_ssl!put-whatever-plugin Hope this helps. -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
I had a very similar problem with checks coming from Ubuntu 8.04 and 10.04 destined for RHEL. I had to disable SSL on both ends and set the encryption method to 0. I would also check the NRPE config to make sure the passphrases match if you are using them. Greg Pangrazio On Thu, Jul 1, 2010 at 6:49 AM, Julius Kidubuka juki.e...@gmail.com wrote: Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; # 'check_nrpe' command definition define command{ command_name check_nrpe_no_ssl command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } Then in your specific service definitions have the check_command line read; check_command check_nrpe_no_ssl!put-whatever-plugin Hope this helps. -- 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 Nagios-users@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 -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
I strongly doubt it has any relation to ssl: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) 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 this is output from nrpe (Centos binary package) that shows it's compiled with ssl/tls support. Openssl library is installed as well. Anyway. I tried suggested workaround, defining check_nrpe_no_ssl as $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n and defining service as check_nrpe_no_ssl!check_load and running nrpe deamon no centos host with -n option - result is just the same, NRPE: Unable to read output However, when I do ./check_nrpe -H centos.host.com it does return me nrpe version correctly (NRPE v2.12). From all this steps I figured that it is not about ssl at all - nrpe version is returned correctly with ssl and without it. Interesting, that in nagios server debug log I see that remote NRPE returns output that nagios check_nrpe cannot parse, it returns similar output, that I would get if call /usr/sbin/nrpe without arguments: [1277983505.131702] [016.2] [pid=17495] Parsing check output... [1277983505.131711] [016.2] [pid=17495] Short Output: (No output returned from plugin) [1277983505.131719] [016.2] [pid=17495] Long Output: NRPE Plugin for Nagios\nCopyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org)\nVersion: 2.12\nLast Modified: 03-10-2008\nLicense: GPL v2 with exemptions (-l for more info)\nSSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required\n\nUsage: check_nrpe -H host [-n] [-u] [-p port] [-t timeout] [-c command] [-a arglist...]\n\nOptions:\n -n = Do no use SSL\n -u = Make socket timeouts return an UNKNOWN state instead of CRITICAL\n host = The address of the host running the NRPE daemon\n [port] = The port on which the daemon is running (default=5666)\n [timeout] = Number of seconds before connection times out (default=10)\n [command] = The name of the command that the remote daemon should run\n [arglist] = Optional arguments that should be passed to the command. Multiple\n arguments should be separated by a space. If provided, this must be\n the last option supplied on the command line.\n -h,--helpPrint this short help.\n -l,--license Print licensing information.\n -n,--no-ssl Do not initial an ssl handshake with the server, talk in plaintext.\n\nNote:\nThis plugin requires that you have the NRPE daemon running on the remote host.\nYou must also have configured the daemon to associate a specific plugin command\nwith the [command] option you are specifying here. Upon receipt of the\n[command] argument, the NRPE daemon will run the appropriate plugin command and\nsend the plugin output and return code back to *this* plugin. This allows you\nto execute plugins on remote hosts and 'fake' the results to make Nagios think\nthe plugin is being run locally.\n\n so that seems to me as if NRPE does not understand arguments from check_nrpe or something... any ideas? -- best regards, yuris Greg Pangrazio wrote: I had a very similar problem with checks coming from Ubuntu 8.04 and 10.04 destined for RHEL. I had to disable SSL on both ends and set the encryption method to 0. I would also check the NRPE config to make sure the passphrases match if you are using them. Greg Pangrazio On Thu, Jul 1, 2010 at 6:49 AM, Julius Kidubuka juki.e...@gmail.com wrote: Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; # 'check_nrpe' command definition define command{ command_namecheck_nrpe_no_ssl command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } Then in your specific service definitions have the check_command line read; check_command check_nrpe_no_ssl!put-whatever-plugin Hope this helps. -- 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 Nagios-users@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 -- 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 Nagios-users@lists.sourceforge.net
Re: [Nagios-users] NRPE: No output returned from plugin error
yuris wrote: I strongly doubt it has any relation to ssl: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) 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 this is output from nrpe (Centos binary package) that shows it's compiled with ssl/tls support. Openssl library is installed as well. Anyway. I tried suggested workaround, defining check_nrpe_no_ssl as $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n and defining service as check_nrpe_no_ssl!check_load and running nrpe deamon no centos host with -n option - result is just the same, NRPE: Unable to read output However, when I do ./check_nrpe -H centos.host.com it does return me nrpe version correctly (NRPE v2.12). From all this steps I figured that it is not about ssl at all - nrpe version is returned correctly with ssl and without it. Interesting, that in nagios server debug log I see that remote NRPE returns output that nagios check_nrpe cannot parse, it returns similar output, that I would get if call /usr/sbin/nrpe without arguments: so that seems to me as if NRPE does not understand arguments from check_nrpe or something... any ideas? -- best regards, yuris Yuris.. Can you upload a sample nrpe.cfg from one of the centos servers ? That might shed more light on the issue ? -- Never,Ever Cut A Deal With a Dragon -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
There is nrpe.cfg: log_facility=daemon pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nrpe nrpe_group=nrpe allowed_hosts=nagios.domain dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 300 -- wbr, yuris Assaf Flatto wrote: yuris wrote: I strongly doubt it has any relation to ssl: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) 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 this is output from nrpe (Centos binary package) that shows it's compiled with ssl/tls support. Openssl library is installed as well. Anyway. I tried suggested workaround, defining check_nrpe_no_ssl as $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n and defining service as check_nrpe_no_ssl!check_load and running nrpe deamon no centos host with -n option - result is just the same, NRPE: Unable to read output However, when I do ./check_nrpe -H centos.host.com it does return me nrpe version correctly (NRPE v2.12). From all this steps I figured that it is not about ssl at all - nrpe version is returned correctly with ssl and without it. Interesting, that in nagios server debug log I see that remote NRPE returns output that nagios check_nrpe cannot parse, it returns similar output, that I would get if call /usr/sbin/nrpe without arguments: so that seems to me as if NRPE does not understand arguments from check_nrpe or something... any ideas? -- best regards, yuris Yuris.. Can you upload a sample nrpe.cfg from one of the centos servers ? That might shed more light on the issue ? -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 300 Have you tried those without double quotes? If 'check_nrpe -H host' works, but 'check_nrpe -H host -c command' doesn't, it's a problem with the plugin, pure and simple. Be it path, incorrect usage, bad arguments, whatever, it's complaining about the execution of (or inability to execute) the plugin. Benny -- Well, we *could* hunt down the perpetrators, pool some $$, and hire 3 or 4 baseball-bat wielding professional explainers to go explain our position to them. Figuring out how to do so without breaking any laws is the tough part... -- Valdis Kletnieks, 2009-01-23 -- 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 Nagios-users@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
Re: [Nagios-users] NRPE: No output returned from plugin error
Bingo! I suspected that it's something really stupid, like typo or something like almost always in cases like this! thanks everybody involved and especially Benny :) -- wbr, yuris C. Bensend wrote: command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 300 Have you tried those without double quotes? If 'check_nrpe -H host' works, but 'check_nrpe -H host -c command' doesn't, it's a problem with the plugin, pure and simple. Be it path, incorrect usage, bad arguments, whatever, it's complaining about the execution of (or inability to execute) the plugin. Benny -- 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 Nagios-users@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