SCOM SMS Notification problem
Dear SCOM admins,im in the process of enabling sms notifications, but i'll send them over smtp to a gateway server "quescom", it converts the mail to sms.in the chanel format window: email message must begin with text= ,and i let the encoding as default "unicode (UTF-8)". the address should be in the form gateway@<Mobile no.>i chose it in the subscription but it doesn't work....only the mail notications workany advice?!!!appreciat your assistanceM.Zakaria
February 23rd, 2010 6:13pm
Hi,Have you change the message format to include text= in the beginning? How did you specify recipient address and did you use a SMTP channel as notification channel?Anders Bengtsson | Microsoft MVP - Operations Manager | http://www.contoso.se
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2010 8:52pm
yes, the meessage body contains text= in the begining, and i do use smtp channel ...is there anything like event might pop up illustrating whats goning on?!!appreciate your assistanceM.Zakaria
February 24th, 2010 3:08am
Hi M_Zakaria,how long do you have this problem? You have clear installation? Has it worked before any update? (CU1 for R2 etc)?Thanks Jan
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2010 2:25pm
actually it worked before, but i didn't do any updates.suddenly i got this error alet:Failed to send notification using server/deviceNotification subsystem failed to send notification using device/server 'quescom.com' over 'Smtp' protocol to 'gateway@<my mobile no.>'. Microsoft.EnterpriseManagement.HealthService.Modules.Notification.SmtpNotificationException: Failure sending mail. --> Unable to read data from the transport connection: net_io_connectionclosed.. Smtp status code 'GeneralFailure'. Rule id: Subscription5496f932_6491_4007_8f88_e072531b3be9any explanation for such behaviour??!!appreciate your help
February 24th, 2010 5:08pm
i wanna ask a question.in this case of using smtp server to convert mail to sms, in subscriber configuration window, the channel type should it be E-Mail(SMTP) or TEXT Message (SMS).appreciate your helpregards
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2010 1:10pm
Due to inactivity marked as Answered. Feel free to re-open.Cheers,
Arie de Haan
This posting is provide "AS IS" with no guarantees, warranties, rigths etc.
April 1st, 2010 12:42am
dears,
i only can send email to the gateway server (to convert to sms and send) from telnet session like this:
>telnet <ip> 25
>helo
>mail from: anything
>rcpt to: gateway@anything
>data
>subject: anything
>
>text= anything
>sms=+2<mobile no.>
>.
>quit
what if i wanna send these lines via command line channel...
can anybody help on that
thanks in advance
M.Zakaria
Free Windows Admin Tool Kit Click here and download it now
April 4th, 2010 1:20pm
dears,
i tried this powershell script, it shows steps are right but no sms recieved:
param([String] $remoteHost="quescomm.com")
if ($remotehost -eq "") {return; }
function readResponse {while($stream.DataAvailable) { $read = $stream.Read($buffer, 0, 1024) write-host -n -foregroundcolor cyan ($encoding.GetString($buffer, 0, $read)) ""} }
$port =25 $socket = new-object System.Net.Sockets.TcpClient($remoteHost, $port)
if($socket -eq $null) { return; }
$stream = $socket.GetStream() $writer = new-object System.IO.StreamWriter($stream) $buffer = new-object System.Byte[] 32000$encoding = new-object System.Text.UTF8Encodingstart-sleep -m 500
readResponse($stream)$command = "HELO" write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "mail from:"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "rcpt to:gateway@"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "data"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "subject:"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = ""write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "sms=+2"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "text=test"write-host -foregroundcolor DarkGreen $command""$writer.Flush()start-sleep -m 500
readResponse($stream)$command = "."write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500
readResponse($stream)$command = "QUIT"write-host -foregroundcolor DarkGreen $command""$writer.WriteLine($command) $writer.Flush()start-sleep -m 500 readResponse($stream)## Close the streams $writer.Close() $stream.Close()
April 6th, 2010 5:55pm
Hi,
I will mark this thread as answered due to no activity for a long time. Feel free to re-open it if needed. ThanksAnders Bengtsson | Microsoft PFE | blog at http://www.contoso.se
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2010 6:39am