If anyone has the time I would really appreciate some help getting my
syntax right. We have Events being created from a pop3 mailbox and
handed over to spectrum. I would like to take the string being passed
along from these and have different alarms created. Right now I'm just
trying to do a basic match of "good" and "bad". I know my below examples
are wrong but maybe it gives someone an idea of what I'm going for?
Event ccc is created
if "good" is in event then create Event cc1, which creates Alarm cc1
if "bad" is in event then create cc2, which creates Alarm cc2
if anything else then do nothing.
0xccc R Aprisma.EventCondition, \
"{ v 1 } == { S \"bad\" }", "0xcc1 -:-", \
"{ v 1 } == { S \"good\" }", "0xcc2 -:-"
0xcc1 E 0 A 2,0xcc1,U
0xcc2 E 0 A 2,0xcc2,U
0xccc R CA.EventCondition, "(exists({S \"bad\"}))" , "0xcc2
-:-","(exists({S \"good\"}))" , "0xcc1 -:-"
0xcc1 E 0 A 2,0xcc1,U
0xcc2 E 0 A 2,0xcc2,U
Thanks,
Scott Casebere
PRC NOC
Network Engineer II
500 North Central Expressway
Suite 266
Plano, TX 75074
M 972.955.1542
O 954.838.4109
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]