Why can't I see any difference when I use these parameters?
Posted: Mon Jun 24, 2019 5:00 pm
Hello, I am an absolute newborn with Nagios and I already must create a complete plugin.
I have the following in my diskspace.cfg that I have created in /usr/local/nagios/etc/objects
define command {
command_name check_xard
command_line $USER1$/check_xard -H $HOSTADDRESS$ -c check_xard -w $ARG1$ -c $ARG2$
}
define service {
use generic-service
host_name myserver
service_description CheckHDD
check_command check_xard
notifications_enabled 0
notification_options w,c,u,r
}
I wonder what I did wrong and if there's a sort of step-by-step instruction to understand how to operate with w,c etc.
Thank you
I have the following in my diskspace.cfg that I have created in /usr/local/nagios/etc/objects
define command {
command_name check_xard
command_line $USER1$/check_xard -H $HOSTADDRESS$ -c check_xard -w $ARG1$ -c $ARG2$
}
define service {
use generic-service
host_name myserver
service_description CheckHDD
check_command check_xard
notifications_enabled 0
notification_options w,c,u,r
}
I wonder what I did wrong and if there's a sort of step-by-step instruction to understand how to operate with w,c etc.
Thank you