Ad Widget

Collapse

snmp trap lld

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnhome1
    Junior Member
    • Feb 2023
    • 4

    #1

    snmp trap lld

    Hi,
    Is it possible to do LLD item creation from SNMP TRAPS ?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Yes - it is possible.
    How to do it depends on the data in the trap.
    Your task is to convert this data into json suitable for LLD

    Comment

    • cnhome1
      Junior Member
      • Feb 2023
      • 4

      #3
      Hi,

      Thanks for the reponse, the problem is the dicovery rules only allows a type of SNMP agent (so it expects to read values) and not SNMP Trap (as i have set the main item to). The device i am working with only generates traps and does not allow reading of the device alarms. So I need to do this specifically when a trap is received by zabbix Click image for larger version

Name:	agent.jpg
Views:	334
Size:	71.0 KB
ID:	460235

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        I'm sorry - I looked at the list of possibilities incorrectly.
        You're right.​

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          Yes, you cannot have discovery source directly as a trap, but you can have regular trap item and point your discovery to that item (type dependent). and create your items also as dependents from that master item. Only downfall here is, that with the first trap you get items created and only with the second one populated..

          Comment


          • Hamardaban
            Hamardaban commented
            Editing a comment
            That's right!
            I completely forgot....
        Working...