Python Forum
pysnmp how to find msgGlobalData msgID from snmpV3 inform
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pysnmp how to find msgGlobalData msgID from snmpV3 inform
#1
We are using pysnmp to transform snmpV3 informs from devices and are successfully processing the messages.
Problem:
If alarms do not arrive in the correct order for example linkUp(Clear alarm) then linkDown(Set alarm), since snmpV3 does not support alarm timestamp created by the device we cannot determine the order therefore if the device was showing a fault and then subsequently has been cleared.
Scenario:
If the device fails to sends the snmpV3 inform linkDown to the snmp-collector because of network issues or it is being restarted, the device will retry in 30 seconds. if the snmp-collector comes back up within the 30 seconds and the device is cleared within this time, the device will send a linkUp to the snmp-collector which it will receive successfully. The device will then send the linkDown to the snmp-collector after the linkUp has been processes.
Possible solution:
The unique msgGlobalData msgID of the snmpV3 inform remains the same for each repeated attempt of sending the alarm inform and therefore we can use this to order the sequence of when the alarm was created from a device.
Question
How do we obtain the msgGlobalData msgID from the snmpV3 inform message from a device using pysnmp module or is there another way to correctly order the snmpV3 inform messages?

Many thanks in advance.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Specific Issue with pysnmp Try_to_script 1 4,652 Mar-28-2018, 07:28 AM
Last Post: hf8bm

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020