[Nagiosplug-help] nrpe return CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages
Alex Boulanger
alx.boulanger at gmail.com
Tue Feb 27 12:00:51 CET 2007
Hi,
Watch your client logs (as you've enabled debug=1) in daemon.log or
whatever, there should be the error
maybe your plugins aren't compiled with argument support; you're
requesting some, so the nrpe server (on your client) won't execute the
check
2007/2/27, Ковалев Александр Владимирович <akovalev at sitels.ru>:
>
>
>
>
> 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
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
More information about the Help
mailing list