Projet/Mission1/nagios/objects/ap35prod.cfg

38 lines
1.4 KiB
INI

define host {
use linux-server
host_name ap35prod
alias ap35prod
address 10.121.38.74
parents pxap35
}
define service{
use generic-service
hostgroup_name linux-servers
service_description SSH
check_command check_ssh
}
define service{
use generic-service ;Use generic-service template
host_name ap35prod ; S'applique au groupe en question
service_description chk-lin-load ; Nom du service
check_command check_lin_load!public!--v2c!netsl!3,2,2!5,4,3 ; Command
}
define service{
use generic-service
host_name ap35prod
service_description port_8080
check_command check_http_port!8080
}
define service{
use generic-service
host_name ap35prod
service_description chk-mem-load
check_command check_mem!public!--v2c!-N!90,20!99,70
}
define service{
use generic-service
host_name ap35prod
service_description chk-storage
check_command check_storage!public!--v2c!"^/$|tmp|usr|var|home"!85!95
}