Spotlight on Messaging offers the functionality to send email notifications when alerts are raised. Some users may wish to send alerts via SMS and the below resolution explains how.
Open the Notification dialogue select the Notification group and edit:
Select the token dropdown - $SenderName$
In the Command Line text box paste the following string:
sms.vbs $TestName$ $ServerName$ $ServerOutcome$ **It maybe required to add the full path to the location of the sms.vbs file wrapped in " " **
Example: "C:\Program Files\Quest Software\Spotlight on Messaging\ManagementConsole\Binaries\sms.vbs" $TestName$ $ServerName$ $ServerOutcome$
These parameters are consistent with the following content of the sms.vbs script that should be created in ManagementConsole\binaries directory:
The following is an example script to send a short message for alert. This only displays Test name, Server name and Status.
Then create sms.vbs file as below:
if (Wscript.Arguments.Count = 3) then
dim message
set message = CreateObject("CDO.Message")
message.From = "SOM@yourdomain.com"
message.To = "XXXXX@yourdomain.com"
message.Subject = Wscript.Arguments(1) & " - " & Wscript.Arguments(2) & " - " & Wscript.Arguments(0)
message.Textbody = ""
message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "relay.yourdomain.com"
message.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
message.Configuration.Fields.Update
message.Send
end if
[10digitnumber]@txt.bell.ca
[10digitnumber]@pcs.rogers.com
[10digitnumber]@fido.ca
[10digitnumber]@msg.telus.com
[10digitnumber]@vmobile.ca (Virgin Mobile)
[10digitnumber]@mobiletxt.ca (PC Mobile)
[10digitnumber]@msg.koodomobile.com
The providers will convert the email to text message and send to you.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center