wrong information by check_disk !
Uwe Großkinsky
ug at cinetic21.de
Fri May 9 15:06:08 CEST 2008
hy folks,
i have 2 machines (both are linux)
machine 1 i have running my nagios server new version 3.0.1 incl.
plugins 1.4.11 and nrpe 2.12
machine 2 i have runing nrpe 2.12 incl. plugins 1.4.11
Machine 1 (NAGIOS) i have the following config for my ubuntu.cfg
define host{
use generic-host
host_name uwe-desktop
alias uwe-desktop unter auf VMWare localost
address 10.23.3.29
max_check_attempts 2
contacts nagiosadmin
}
and service
define service{
use generic-service
host_name uwe-desktop
service_description check remote Disk
check_command check_nrpe!check_remote_disk1
}
and command.cfg
define command{
command_name check_remote_disk1
command_line $USER1$/check_remote_disk1 -H $HOSTADDRESS$
}
konfigured
on Machine 2 (nrpe) i have the following command in my command.cfg
included
command[check_remote_disk1]=/opt/nagios/libexec/check_disk -w 20% -c 10%
-p /
but i see always in Nagios for my check result
check remote Disk
OK 09-05-2008 14:44:17 0d 0h 36m 19s 1/3 OK - load average: 0.27, 0.23,
0.24
if send the command ./check_disk -w 20% -c 10% -p / on Machine 2 from my
shell i see
DISK OK - free space: / 3333 MB (45%
inode=67%);| /=4004;6181;6954;0;7727
so what i made wrong ?
i dont understand whats the problem
greets Uwe
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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