Hi,
We are using an online SMS service to send out SMS notifications. e.g. configuring email alerts to be sent to phone-number@smsgateway.com, which in turn sends the SMS message to the specified phone-number. The issue we're having is that the body of the message is HTML format, which is suitable for email but not for SMS.
Is it possible to define a notification template specifically for SMS?
Thanks,
Trong.
I assume you are using the Alerts option on the System Center > Users / Groups configuration to send out notification e-mails. These indeed are always HTML e-mails.
While the template for such mails can be customized, the e-mail format will probably remain HTML.
My suggestion would be to use a correlation rule instead using an alarm filter + the "trigger on single events" + no conditions + a "send e-mail" action. Advantage here is that an option is available here to send the e-mail as a plain text e-mail. Placeholders like "[Info]" exist which can be used in the e-mail body to include the name/value of the alarm. The list of placeholders can be found on the same page linked above.
Also I was wondering about the following. SMS has a limited number of characters and is it then desirable to forward all the content of the notification mail? If I'm not mistaken in the past we have worked on making sure that the subject of a notification mail contains all key information about the alarm in a as compact format as possible (element name, severity, etc). Specifically so that it would be possible to take that string (i.e. the subject) and have that converted in a brief SMS message. So maybe you have to check if that's an option, to just take the subject of the notification mail and to use that content to trigger the SMS message.
Thanks Wouter. Correlation rules + placeholders sounds like a viable option. I’ll look into this.