Problems with plugin configuration for remote hosts


#1

Hi,
I have installed Nagios v 2.9 successfully and is monitoring locally successful by using the sample files. I am now trying to monitor a remote host, this is where i get a problem.

I have added the host and i have changed the command.cfg as well as the localhost.cfg.
the service for PING works fine, i tried to add check_disk by copying the local check_disk, but i get errors.
Command.cfg
command_line $USER1$/check_disk -w $ARG1$ -c $ARG1$ -p $ARG3$

localhost.cfg
check_command check_remote_disk!20%!10%!/

i have tried other services as well, and it seems that the arguments populated for the service in the localhost.cfg is not right, i have searched for documentation, but cant find any.

Thanks,


#2

in command.cfg i also tried check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /