Hi guys, OCUM sends plain text alerts and our users find them difficult to consume on iPhones etc. I'd like to create some HTML alerts so I can make certain things stand out (i.e. bold text, colors etc.) and also add some business specific things such as system owner etc. What options would I have for this in OCUM. Alerts firing a script for example?
Solved! See The Solution
You can create an OCUM alarm and attached a script to the alarm which is trieggered when the event occurs.
You can enuemrate the event information from environment arugments or use the NMSDK.
You can also invoke SQL queries in your script on the OCUM database...EG if you wanted cluster name, contact, location...
SELECT name AS 'cluster_name', contact, location FROM netapp_model.cluster WHERE cluster.name = 'cluster1'
Once you have all the event details and additional information you require, you'd need to format the results into HTML\CSS and send them as an email.
Here are some examples
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.