This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Generate meaningful SNMP Trap based alerts by re-formatting SNMP Traps

We have setup some SNMP Trap based alerts but the alert format is not very friendly to read. It would be better if NPM allows us to re-format it into a meaningful text string. Enough details are available from within the Trap message to construct a meaningful notification. For details of implementation one needs to look no further than the open-source tool SNMPTT.

Here is what I expect to do:

A SNMP trap like

sysUpTime=176 days 8 hours 1 minute 19.95 seconds

snmpTrapOID=CISCO-CONFIG-MAN-MIB:ciscoConfigManEvent

ccmHistoryEventCommandSource.1674=commandLine(1)

ccmHistoryEventConfigSource.1674=commandSource(2)

ccmHistoryEventConfigDestination.1674=3

need to translate to a friendly text such as:

DeviceA config was modified from commandLine and saved to running config

When SNMP trap alerts are made readable like this, it can help to make the alerts more realtime and reduce our reliance on polling for event generation. Right now whenever we need to ensure an alert is not missed, we have to increase the polling frequency which is not so ideal.