check_nt -> wrong -l argument
Posted: Fri Aug 26, 2011 9:52 am
Hello....
I try to chek the disk "c" with the command from the shell
/usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -v USEDDISKSPACE -p 12489 -l c
and works fine....but the service defined in nagios when execute the command return the error "wrong -l argument"
This is the definition of service is
define service{
use generic-service
hostgroup_name SERVERS
service_description Drive C
check_command check_nt!USEDDISKSPACE!-l c
normal_check_interval 10
retry_check_interval 360
notification_interval 720
notification_options w,c
}
The version of Nagios core is 3.2.1
Why the nagios send the error ??
Thanks.
Emilio G. Burgoa
[email protected]
San Juan - Argentina
I try to chek the disk "c" with the command from the shell
/usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -v USEDDISKSPACE -p 12489 -l c
and works fine....but the service defined in nagios when execute the command return the error "wrong -l argument"
This is the definition of service is
define service{
use generic-service
hostgroup_name SERVERS
service_description Drive C
check_command check_nt!USEDDISKSPACE!-l c
normal_check_interval 10
retry_check_interval 360
notification_interval 720
notification_options w,c
}
The version of Nagios core is 3.2.1
Why the nagios send the error ??
Thanks.
Emilio G. Burgoa
[email protected]
San Juan - Argentina