Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Created August 28, 2012 20:17
Show Gist options
  • Save mbrownnycnyc/3503677 to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/3503677 to your computer and use it in GitHub Desktop.
generic-trap icinga/nagios definition
define service{
name generic-trap
service_description snmp_traps
is_volatile 1
check_command check_dummy!0
max_check_attempts 1
normal_check_interval 5
retry_check_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
flap_detection_enabled 1
notification_period 24x7
notification_interval 0 ;this works okay for me
contact_groups admins
notification_options w,u,c
register 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment