Ad Widget

Collapse

is it possible to generate item discovery after receiveing SNMP trap ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarKal
    Junior Member
    • Nov 2024
    • 6

    #1

    is it possible to generate item discovery after receiveing SNMP trap ?

    There is WIFI controller managing hundreds of AP-s. There is not wise to request every single AP status individually, more practical approach is to rely on receiving SNMP traps.
    I describe problem as i understand it:
    problem lays on Zabbix SNMP traps processing crotchet: sometimes 2 SNMP traps ( " connection lost" and "connected" for example ) related to same AP are received almost same time ( time difference ) 1 second. Zabbix will create items from the first trap, but it takes some ( more than 1 second ) time. When Zabbix is created items, there will be no SNMP trap related to his AP any more. So these items stay without any value. This means, i cannot build up any triggering logic based on these item values.

    I wonder, is it possible to configure discovery rule item prototype using info ( IP address for example ) inside SNMP trap ?
    This means, when anything is reported by SNMP trap, Zabbix will create item ( "AP status" for example ), using discovery rule ( SNMP agent + discovery OID ) and discovery result is filtered by "AP IP address" value.
    Then it does not matter, if some more traps are received or not, SNMP agent discovers and creates relevant item and Zabbix will poll "AP status" based on regular time interval for example.
Working...