Nagios HTTP check
Posted: Wed Nov 09, 2016 10:31 pm
Hi Experts,
I have query about a Nagios configuration that I have seen in a server.
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
define service{
use local-service ; Name of service template to use
host_name localhost
service_description HTTP
check_command check_http
notifications_enabled 0
}
check_http command is configuration with 2 arguments, but the actual service definition is not passing the argument. Are the arguments in the command definition are optional parameters?
Krish
I have query about a Nagios configuration that I have seen in a server.
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
define service{
use local-service ; Name of service template to use
host_name localhost
service_description HTTP
check_command check_http
notifications_enabled 0
}
check_http command is configuration with 2 arguments, but the actual service definition is not passing the argument. Are the arguments in the command definition are optional parameters?
Krish