nrpe: incorrect command line arguments supplied

Denny Schierz cuall at gmx.de
Wed Jul 19 17:34:37 CEST 2006


hi,

first: i have on all remote hosts the same nrpe version from plugin,
daemon and with ssl.

NRPE seems to be working, but something went wrong:

Current Load UNKNOWN (No output returned from plugin) 
Root Partition UNKNOWN Incorrect command line arguments supplied 


my nagios minimal.cfg:

## space ##


#mx02 space

define service{
        use generic-service         ; Name of service template to use
        host_name                       mx02
        service_description             Root Partition
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           960
        notification_period             24x7
        check_command check_nrpe!check_disk -w 20 -c 10 -p /dev/sda1
        }


## load ##

# MX02

define service{
        use generic-service     ; Name of service template to use
        host_name                       mx02
        service_description             Current Load
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           960
        notification_period             24x7
check_command check_nrpe!check_load -w 15,10,5 -c 30,25,20
        }

my nrpe config:


command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c
30,25,20

command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10
-p /dev/sda1


The plugins are on both systems the same. What is my mistake?

cu denny


-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060719/21a40eeb/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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