출처 : http://community.spiceworks.com/topic/140762-nagios-check-https
This is my command definition:
# 'check_http' with SSL command switch
define command{
command_name check_https
command_line $USER1$/check_http -I $HOSTADDRESS$ -S $ARG1$
}
This is my service definition:
define service{
use generic-service ; Inherit default values from a template
host_name reg.ymcasv.org
service_description HTTP
check_command check_https
}