# service_description同service的定义
define serviceextinfo {
host_name ftp-server
service_description check_ftp
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}
# hostname同host的定义
define hostextinfo {
host_name nagios-server
action_url /nagios/pnp/index.php?host=$HOSTNAME$
}
阅读(2925) | 评论(0) | 转发(0) |