Hello,
I have installed the nt agent, below are the relevent sections of my cfg files:
checkcommands.cfg:
‘check_nt_disk’ command definition
define command{
command_name check_nt_disk
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$
}
services.cfg
Service definition for checking Disk space
define service{
use generic-service
host_name chrisg,lab1
service_description Disk Space C:\
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups local-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_nt_disk!c!85!90
}
I get this error in nagios:
“wrong -l argument”
does anyone have any suggestions?
thanks
g