krutaw

Custom alert templates per device/datasource/eventsource/etc

Recommended Posts

While looking through the configuration of alert templates, I see that the various types of alerts and that each can have a customized template defined.  While that's great, it would be even better if a custom template could be defined on a per device / datasource/ eventsource/ etc. basis to allow for better communication with the folks getting the alerts.

  • Upvote 1

Share this post


Link to post
Share on other sites

I tried to come up with a solution to this -- I added custom properties to devices/device groups that I hoped could be inserted into the alert template, but the problem is this really can't work since there is no single master template.  What you CAN do is use a custom email integration, which allows you to fetch the resultant alert message as ##MESSAGE##, and then you can put stuff around it based on whatever you like.  But if you choose to do this, you lose all the features of normal email alerts, like  reply-commands (ACK, SDT etc.).  The current alert system is very limited, but I am hopeful it will be improved in the somewhat near future based on conversations I've had with LM folks.

What we have been using is a custom integration that feeds into an actual template system (not just unconditional token substitution), from which we generate markdown output that feeds into a ticket.  In that I can synthesize some of the links that allow for ACK/SDT and API calls can be used to populate more information into the ticket.

Share this post


Link to post
Share on other sites
3 minutes ago, mnagel said:

I tried to come up with a solution to this -- I added custom properties to devices/device groups that I hoped could be inserted into the alert template, but the problem is this really can't work since there is no single master template.  What you CAN do is use a custom email integration, which allows you to fetch the resultant alert message as ##MESSAGE##, and then you can put stuff around it based on whatever you like.  But if you choose to do this, you lose all the features of normal email alerts, like  reply-commands (ACK, SDT etc.).  The current alert system is very limited, but I am hopeful it will be improved in the somewhat near future based on conversations I've had with LM folks.

What we have been using is a custom integration that feeds into an actual template system (not just unconditional token substitution), from which we generate markdown output that feeds into a ticket.  In that I can synthesize some of the links that allow for ACK/SDT and API calls can be used to populate more information into the ticket.

 

Yeah, I think I'm gonna bring it up with my account executive the next time we meet (which should be next week so there's that.)  It seems like the custom properties might be a good addition to what I'm already doing.  Thanks for reminding me of that. :)

Share this post


Link to post
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.

Guest
Reply to this topic...

×   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.