[Nagiosplug-help] nrpe return CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages

Ковалев Александр Владимирович akovalev at sitels.ru
Tue Feb 27 08:40:58 CET 2007


Hi all.

I have problem with nrpe 2.6.

When I check remote client my status for this service UNKNOWN and I receive CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages

On server nagios in localhost.cfg 

# "ORACLE HOME 9.2 filesystem usage"

define service{

        use                             local-service         ; Name of service template to use

        host_name                       men-orafunc-06,msk-oraload-01,msk-oraload-02,msk-oraload-03

        service_description             Oracle HOME 9.2 Filesystem Usage

        check_command                   check_nrpe!check_local_disk_i_1!6%!3%!/oracle/92

        }

And in command.cfg 

# 'check_nrpe' command definition

define command{

        command_name    check_nrpe

        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$

        }

# 'check_local_disk' command definition

define command{

        command_name    check_local_disk

        command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$

        }

On remote client 

bash-2.05# cat nrpe.cfg

pid_file=/var/run/nrpe.pid

server_port=5666

nrpe_user=nagios

nrpe_group=nagios

dont_blame_nrpe=1

debug=1

command_timeout=60

 

command[check_fs_space]=/opt/esw/nagios/libexec/check_fs_space -w $ARG1$ -c $ARG2$

command[check_local_disk_i_1]=/opt/esw/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -l -e -p $ARG3$

command[check_rq]=/opt/esw/nagios/libexec/check_rq -w $ARG1$ -c $ARG2$

Plugins check_disk and check_nrpe in /opt/esw/nagios/libexec/check_disk are exists. 

On nagios server checking 

bash-2.05# ./check_nrpe -H msk-oraload-01

NRPE v2.6

I have some questions:

Where logging nrpe daemon?

Where I can get debugging info for nrpe?

Could  this problem  be related to openssl?

 

Alex

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070227/e3b44c30/attachment.html>


More information about the Help mailing list