• 0

Can I format alert message from a SNMP trap?



We're trying to setup an alert from a SNMP trap.  The alert will send SMS and Voice Call.  You can imagine how it sounds to get a voice call with all the unformatted output below.

The ##VALUE## of the output is as follows: Schedule sysops ENAW-TID ENAW-ETL03P 1 1 Critical Alert 04-01-2021 ETL03p SNMP TEST Job #2 The system cannot find the path specified. 2195603 ETL03p SNMP TEST Job #2 11 3 enterpriseOid: generalCode: 6 snmpVersion: v1 specificCode: 1 sysUpTime: 1511109 trapVariableBindingCount: 11


Would there be a way to format the ##VALUE## or use a different token so that the alert only shows information under trap OID  So the value would look more like "Critical Alert 04-01-2021 ETL03p SNMP TEST Job #2 The system cannot find the path specified"

Hope yall can help, thanks for your time!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

What you want is a dynamic template processor, but all we have is simple token substitution and no indication that will ever change (I have asked repeatedly for years).  You can route alerts to an external integration, which is how we handle transformation of tokens, but you lose some stuff when you do that depending on how you integrate.  For example, we use external email integration into our ticket system with a filter that handles the transformation, but custom email integrations do not get the same handling as builtin email for certain things (e.g., you do not get ACK or SDT notices).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.