# defaults ( 85 95 10 5 ) # cpu percentages used, memory percentages free # ESX virtual servers controller # define service { # name svc-vmware use generic-service service_description VMware ESX notification_options c,r check_command check_esx!%COMMUNITY% host_name %SHNAME% contact_groups %CONTACT% max_check_attempts 2 normal_check_interval 15 retry_check_interval 2 %TIME% stalking_options o,w,c } #define service { # use generic-service # service_description VMware ESX CPU # check_command check_esx_cpu!%COMMUNITY%!%OPTA%!%OPTB% # host_name %SHNAME% # contact_groups %CONTACT% # max_check_attempts 4 # normal_check_interval 5 # retry_check_interval 1 # %TIME% #} define service { use generic-service service_description CPU check_command check_snmp!%COMMUNITY%!enterprises.2021.11.11.0!10:100!5:100!%!CPU idle time host_name %SHNAME% contact_groups %CONTACT% max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 %TIME% } define service { use generic-service service_description VMware ESX Memory check_command check_esx_mem!%COMMUNITY%!%OPTC%!%OPTD% host_name %SHNAME% contact_groups %CONTACT% max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 %TIME% } define service { name snmptrap use generic-service service_description SNMP Trap contact_groups %CONTACT% host_name %SHNAME% active_checks_enabled 1 check_period none passive_checks_enabled 1 ; passive checks only! flap_detection_enabled 0 is_volatile 1 ; alert for ALL bad traps # notification_period 24x7 %NOTIFYTIME% max_check_attempts 1 ; number of fails before alert normal_check_interval 5 ; should be 5 notification_options w,c,r check_freshness 1 # 1800 sec = 30 min freshness_threshold 7200 check_command ok!No alerts in last 2 hours stalking_options w,c } #check_snmp!%COMMUNITY%!%POD%!wminok:wmaxok!cminok:cmaxok!unit!initmsg define service{ name svc-host-processes use generic-service service_description Processes check_command check_snmp!%COMMUNITY%!internet.2.1.25.1.6.0!0:300!0:500!processes!Running contact_groups %CONTACT% host_name %SHNAME% } define service{ name svc-host-swap use generic-service service_description Swap activity check_command check_snmp!%COMMUNITY%!enterprises.2021.11.3.0!0:50!0:100!pages in per sec!Swap activity contact_groups %CONTACT% host_name %SHNAME% } define service{ name svc-host-swap-available use generic-service service_description Swap space check_command check_snmp!%COMMUNITY%!internet.2.1.25.2.3.1.5.102!100:9999999!50:9999999!K remaining!Paging space contact_groups %CONTACT% host_name %SHNAME% } define service{ use generic-service service_description / check_command check_disk_snmp!%COMMUNITY%!1!10!5 # check_command check_snmp!%COMMUNITY%!internet.2.1.25.2.3.1.6.1!0:566047!0:597047!blocks remaining!Filesystem contact_groups %CONTACT% host_name %SHNAME% }