Hello,
One of the fantastic features with OpenNMS is the ability for a network device to send a trap and instantly update the interface state. This allowed us to lower the polling interval, but still have quick detection and notification of outages.
Looking at the SNMP Trap receiver sensor, it looks like it just exists to receive messages and display them (similar to the syslog sensor). How do I extend this to update the interface within PRTG?
Thanks,
Max
Article Comments
Hi Max,
The SNMP Trap Receiver is changing the state if the incoming SNMP trap is either matching an error or warning filter condition or if a channel limit is exceeded. The state change only happens once inbetween a scanning interval, this is why those traps will not trigger an instant action. In my opinion the best way to configure an SNMP Trap Receiver Sensor at the moment is to add a notification to this sensor which triggers after zero seconds. This notification can be an alert, API call, SMS message or a custom script, which will notify you after a short time. This will give you the possibility to raise the scanning interval for the other SNMP requests as you stated.
Best regards
Feb, 2015 - Permalink
Hi Max,
The SNMP Trap Receiver is changing the state if the incoming SNMP trap is either matching an error or warning filter condition or if a channel limit is exceeded. The state change only happens once inbetween a scanning interval, this is why those traps will not trigger an instant action. In my opinion the best way to configure an SNMP Trap Receiver Sensor at the moment is to add a notification to this sensor which triggers after zero seconds. This notification can be an alert, API call, SMS message or a custom script, which will notify you after a short time. This will give you the possibility to raise the scanning interval for the other SNMP requests as you stated.
Best regards
Feb, 2015 - Permalink