I’m using SNMP traps, and I’d like to be notified once, and only once for each trap.

 

So if a service goes into Critical because of an SNMP trap, I’d like to only be notified once.

 

What options would be good for this? I’m currently using

 

define service {

    use    passive-check-template

    name   generic-snmptrap

    service_description    snmp_trap_handling

    is_volatile     1

    notification_interval    120

    notification_options    w,c

    notification_period    24x7

    check_command    check_dummy

    max_check_attempts    1

    active_checks_enabled   0

    passive_checks_enabled  1

    check_freshness    0

    stalking_options    o,w,u,c

    normal_check_interval 2

    retry_check_interval 2

    register    0

}

 

Some of those options aren’t in use, but it wouldn’t let me use the check without them.

Reply via email to