With the addition of Alert Blueprints in 10.2, it would appear that Dispatch Manager now supports HTML. Is it possible it embed our own HTML in email alerts that we are generating from Thresholds? or Analysts?? If so, can someone provide an example? Are there examples of the HTML used by the Alert Blueprints available somewhere in the Prognosis Installation director on Windows?
Are there any plans to extend Alert Blueprints to the Problem Summary destination? It would be useful to have a related URL automatically embedded in the event text of an alert message sent to the Problem Summary Destination.
Hi Kim, First point to say is that at this stage this Alert Blueprints feature is currently not available for creating your own, even in 10.3 as well. It is only available in the form of the pre-packaged alerts for Windows, and for the top 3 payments and UC vendors pre-packaged alerts. These can be modified as required by Prognosis Consulting services. The Help article here provides more details. Product Guides > Prognosis System > System Functions > Thresholds > Alert Blueprints HTH
We have exposed an editing interface in the 10.3 web interface for editing and creating Blueprint content (available from the Alerts Configuration in the web interface). Documentation is in progress and will be updated in online help. Kim - If you would like a session to walk through it then let me know. In general this is on the advanced user end and so Gerald is correct that for most users an engagement with IR Services would make sense. Having said that always happy to make changes to the out of the box defaults based on feedback where possible.
"Is it possible it embed our own HTML in email alerts that we are generating from Thresholds? or Analysts?? " Yes but only if Alert Blueprints are enabled with the HTML option enabled. For example if your alerts configuration on the server generating the alert looked like this:
SUBSYS ALERTS ! Specify the base address of your Prognosis web server. !DEFINE WEB_ADDRESS(https:///) ! Alert messages can include a URL to a Prognosis dashboard that can provide meaning and context. ! You can configure which alert message destinations will include a URL. ! By default, URLs are not included in alert messages. ! SET DESTINATION(, ) !SET DESTINATION(DispatchManager, Y) !SET DESTINATION(SNMPTrap, Y) RICH-ALERTS( ON ) RICH-ALERTS DESTINATION( SNMPTrap, N ) RICH-ALERTS DESTINATION( DispatchManager, Y ) ! Specify the email format for rich alerts, currently supported formats (plain text and HTML) ! RICH-ALERTS DISPATCH-MANAGER-FORMAT( HTML, ) RICH-ALERTS DISPATCH-MANAGER-FORMAT( HTML, Y )
"If so, can someone provide an example?" If you were to put this in your Dispatch Manager Event Text field within the threshold condition....
NOTE: replace % with "less than"angle brackets
Problem raised for cpu|%img src="http://efangelist.files.wordpress.com/2014/02/grumpy-no.jpg" height="100" width="100"/>%table>Click here...Table
You would get something like this in your email. Problem raised for cpu|
In an analyst you can try something like this (this sample is from the out of the box WindowsAnalyst roughly at line 2597, again do a replace all of % with % and remove the **
** ! To make this email go to a different location edit the profile name ** ! following MSG_DEST to a different Dispatch Manager Profile.
MSG 0904 "DISPREQ CMD_SRC ^CUR_PROB MSG_CODE_NUM 0904 MSG_DEST SAMPLE MSG_TITLE Excessive CPU Busy MSG_TEXT %html> %img src=\"http://efangelist.files.wordpress.com/2014/02/grumpy-no.jpg\" height=\"100\" width=\"100\">%p>%table>%tr>%td>%a href=\"www.google.com\">Click here...%/a>%/td>%td>Table%/td>%/tr>%/table> The machine ^srcnode@ has been @NTCPUSYS.BUSY@% busy for 5 minutes or more. The process @ProgPath@\\@ProgName@ is using @ProgBusy@% for the previous 1 minute.%/html>"
"Are there any plans to extend Alert Blueprints to the Problem Summary destination? It would be useful to have a related URL automatically embedded in the event text of an alert message sent to the Problem Summary Destination."
No explicit plans at present.
Having said that there are ways to embed paramatized links to external web sites - I will send you a procedure / example via email that shows how to get this to work.
This is an area we plan to work on - mainly to provide links to 3rd party vendor troubleshooting steps.
The example above doesn't exactly work in Analysts in 11.x.
Web Blueprints do not work with Analysts, just Thresholds; but one can still build an HTML email in an Analyst.
There are two key things you must do though: 1) Encapsulate the entire "MSG_TEXT" section in the bracketed html open and close markers. If you try a mixed mode it will literally print the HTML code into the ticket. You need to pick plain text with & \t formatting or you need to pick HTML which any and \t within the text are ignored. 2) Escape all quotes with \" such as height=\”100\” width=\”100\”
A screenshot of working code example
If my answer helped you today, please be sure to mark the resolved button to assist others.
Christopher R Souser - Solution Architect – MSci. PA, CISSP, ITIL.