# cat 172.16.1.1.cfg
define host{
use linux-server
host_name 172.16.1.1
alias 172.16.1.1
address 172.16.1.1
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_ping
check_command check_ping!100.0,20%!200.0,50%
max_check_attempts 5
normal_check_interval 1
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_ssh
check_command check_ssh
max_check_attempts 5
normal_check_interval 1
notification_interval 60
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_http
check_command check_http
max_check_attempts 5
normal_check_interval 1
notification_interval 60
}
define service{
use generic-service
host_name 172.16.1.1
service_description Root Partition
check_command check_nrpe!check_root
}
define service{
use generic-service
host_name 172.16.1.1
service_description Current Users
check_command check_nrpe!check_users
}
define service{
use generic-service
host_name 172.16.1.1
service_description Total Processes
check_command check_nrpe!check_total_procs
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_load
check_command check_nrpe!check_load
max_check_attempts 5
normal_check_interval 1
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_disk_opt
check_command check_nrpe!check_opt
max_check_attempts 5
normal_check_interval 1
}
define service{
use generic-service
host_name 172.16.1.1
service_description port 12345
check_command check_tcp!12345
}
define service{
use generic-service
host_name 172.16.1.1
service_description port 12310
check_command check_tcp!12310
}
define service{
use generic-service
host_name 172.16.1.1
service_description port 12306
check_command check_tcp!12306
}
define service{
use generic-service
host_name 172.16.1.1
service_description port 12307
check_command check_tcp!12307
}
define service{
use generic-service
host_name 172.16.1.1
service_description check_mem
check_command check_nrpe!check_mem
max_check_attempts 5
normal_check_interval 1
}
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。