problem with nrpe on redhat systems

Eric Doutreleau Eric.Doutreleau at int-evry.fr
Wed Jun 25 22:23:42 CEST 2003



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





More information about the Users mailing list