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

D.Parise at iaea.org D.Parise at iaea.org
Tue Feb 27 14:06:09 CET 2007


Maybe is the same mistake I was doing. Did you allow arguments in the configuration file of the client ?

Regards,

Davide
 

-----Original Message-----
From: nagiosplug-help-bounces at lists.sourceforge.net [mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of ??????? ????????? ????????????
Sent: 27 February 2007 13:56
To: Alex Boulanger
Cc: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] nrpe return CHECK_NRPE: Received 0 bytesfromdaemon. Check the remote server logs for error messages

>From syslog.out
Feb 27 15:31:53 msk-oraload-01 nrpe[1151094]: Listening for connections on port 5666 Feb 27 15:31:53 msk-oraload-01 nrpe[1151094]: Listening for connections on port 5666 Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Connection from 172.16.254.164 port 44589 Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Connection from 172.16.254.164 port 44589 Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Handling the connection...
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Handling the connection...
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Error: Request contained command arguments!
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Error: Request contained command arguments!
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Error: Request contained command arguments!
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Client request was invalid, bailing out...
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Client request was invalid, bailing out...
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Client request was invalid, bailing out...
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Connection from 172.16.254.164 closed.
Feb 27 15:32:06 msk-oraload-01 nrpe[1572902]: Connection from 172.16.254.164 closed.

-----Original Message-----
From: nagiosplug-help-bounces at lists.sourceforge.net [mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of Alex Boulanger
Sent: Tuesday, February 27, 2007 2:01 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] nrpe return CHECK_NRPE: Received 0 bytes fromdaemon. Check the remote server logs for error messages

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=DEV
> DEV _______________________________________________
> 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
>
>
-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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

This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.





More information about the Help mailing list