problem with nrpe on redhat systems

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Jun 26 02:58:18 CEST 2003


Which version of NRPE are you using on the client?  On the server?

jc

> -----Original Message-----
> From: Eric Doutreleau [mailto:Eric.Doutreleau at int-evry.fr]
> Sent: Wednesday, June 25, 2003 3:24 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] problem with nrpe on redhat systems
> 
> 
> 
> 
> i have installed nagios 1.1 and nrpe2.0b4 on a redhat9 machine
> 
> i m trying to check the disk output on a redhat7 machine
> 
> if i run manually the check_nrpe
> /usr/lib/nagios/plugins/check_nrpe -H crotale.int-evry.fr -c 
> check_disk2
> DISK OK [11553468 kB (30%) free on /dev/sdb1]
> 
> it works
> 
> but when i ran through nagios
> i got
> on the client the following message
> 
> Jun 25 22:14:40 crotale nrpe[8127]: Error: Request contained illegal
> metachars!
> Jun 25 22:14:40 crotale nrpe[8127]: Client request was 
> invalid, bailing
> out...
> 
> on the server
> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs
> for error messages
> 
> in checkcommand.cfg i have
> 
> define command{
>         command_name    check_nrpe
>         command_line    /usr/lib/nagios/plugins/check_nrpe -H
> $HOSTADDRESS$ -c $ARG1$
> }
> 
> in services.cfg
> 
> define service{
>         use                             generic-service         ; Name
> of service template to use
>                                                               
>                   
>         host_name                       crotale.int-evry.fr
>         service_description             Espace sur /var/ftp
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  novell-admins
>         notification_interval           120
>         notification_period             24x7
>         notification_options            c,r
>         check_command                  
> check_nrpe!command[check_disk2]=/usr/lib/nagios/plugins/check_
> disk -w 20
> -c 10 -p /dev/sdb1
>         }
>                                                               
>                   Has someone already have this problem?
> 
> Thank in advance for any help
> 
> 
> 
> 
> -- 
> Eric Doutreleau <Eric.Doutreleau at int-evry.fr>
> 
> --h5PKJIQq003009.1056572358/rezo.int-evry.fr--
> 
> -- 
> Eric Doutreleau <Eric.Doutreleau at int-evry.fr>
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU 
> Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
> Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list