# Define service for web servers define service{ use generic-service hostgroup_name web-servers service_description WWW check_command check_http } define service{ use generic-service hostgroup_name linux-servers service_description SSH check_command check_ssh } define service { use generic-service ; Name of service template to use hostgroup_name linux-servers service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define service for Load (Charge CPU) define service{ use generic-service ; Use generic-service template hostgroup_name snmp-servers ; S'applique au groupe en question service_description Charge CPU ; Nom du service check_command check_lin_load!public!--v2c!netsl!3,2,2!4,3,2 ; Command # servicegroups ser-lin-base ;Service belong servicegroup } # Define Service for Disk Space (Espace Disque) define service{ use generic-service ; Use generic-service template hostgroup_name snmp-servers ; S'applique au groupe en question service_description Espace disque ; Nom du service check_command check_snmp_storage!public!--v2c!"^/$|tmp|usr|var"!90!95 } # Define service for memory load (Charge Memoire) define service{ use generic-service ; Use generic-service template hostgroup_name snmp-servers ; S'applique au groupe en question service_description Charge Memoire - RAM ; Nom du service check_command check_snmp_mem!public!--v2c!-N!95,60!99,90 ; Command } # Define service for check interface (Debit Reseau) define service { use generic-service hostgroup_name snmp-servers service_description Debit Reseau check_command check_snmp_int!public!--v2c!eth0!80!90 }