Greetings all!
I'm working with TM on receiving SNMP traps from my CS1ks.
My working config involves sending a test alarm in 117, I can see the alarm show up in TM's alarm monitor, and I get an email sent to me according to my script.txt file.
Here is my issue -
I'm attempting to dial an alpha pager.
When an alarm is received when this code is in script.txt, the alarm notification window disappears (and an error is generated in the Windows Application Log).
I am able to comment out the line
and the alarm notification utility doesn't crash (but of course I don't get paged either). So I know that my problem lies in either code above or in accessing the modem and sending the message.
I have a PCI softmodem installed on COM3. I have COM3 set under the notification tab of Alarm Notification Run Options.
If anyone has any thoughts on this I'd appreciate it!!
I'm working with TM on receiving SNMP traps from my CS1ks.
My working config involves sending a test alarm in 117, I can see the alarm show up in TM's alarm monitor, and I get an email sent to me according to my script.txt file.
Here is my issue -
I'm attempting to dial an alpha pager.
Code:
script Pagers
{
function forward_apager()
{
if ($CurrentTrapDevice = "CALL_SERVER")
{
send(adam_text_message, $ErrorCode, " : ",$OperatorData, ".");
}
}
rule forward_apager_critical
{
if ($NormalizedSeverity = Critical )
{
forward_apager();
}
}
}
When an alarm is received when this code is in script.txt, the alarm notification window disappears (and an error is generated in the Windows Application Log).
I am able to comment out the line
Code:
send(adam_text_message, $ErrorCode, " : ",$OperatorData, ".");
I have a PCI softmodem installed on COM3. I have COM3 set under the notification tab of Alarm Notification Run Options.
If anyone has any thoughts on this I'd appreciate it!!