35 lines
1.2 KiB
INI
35 lines
1.2 KiB
INI
define host {
|
|
use linux-server
|
|
host_name ap31wiki
|
|
alias ap31wiki
|
|
address 10.121.38.67
|
|
}
|
|
|
|
define service {
|
|
use generic-service
|
|
host_name ap31wiki
|
|
service_description SSH
|
|
check_command check_ssh
|
|
}
|
|
|
|
define service {
|
|
use generic-service
|
|
host_name ap31wiki
|
|
service_description WWW
|
|
check_command check_http
|
|
}
|
|
|
|
#define service {
|
|
# use generic-service
|
|
# host_name ap31wiki
|
|
# service_description check-mem-load
|
|
# check_command check_mem!public!--v2c!-N!90,20!99,70
|
|
#}
|
|
|
|
#define service {
|
|
# use generic-service
|
|
# host_name ap31wiki
|
|
# service_description chk-storage
|
|
# check_command check_storage!public!--v2c!"^/$|tmp|usr|var|home"!85!95
|
|
#}
|