when in an AO profile you can use F2 to check your Regex against a message.
Currently, at run time there is no Regex testing.
------------------------------
Gene Howard
Principal Support Engineer
Broadcom
------------------------------
Original Message:
Sent: 04-23-2020 11:07 AM
From: Christopher Duryea
Subject: NAS AO Profile regex passing unmatched alarm messages
The ) should not have been there.
If it causes unexpected behavior allowing alarms that do not match the regex to pass through instead of dropped, that's of real concern. Since it was not escaped, I would presume this should result in some sort of regex syntax processing error and thus question the error handling.
Original Message------
so the ) should be escaped of it needs to be there
so:
/.*URL\sCertificate\sdue\sto\sexpire\sin\s'21'\sdays.*Assignment\sgroup:\sCCCC\).*/
if you check the regex statement you can see that it is not valid
the incorrect regex would cause unexpected results.
------------------------------
Gene Howard
Principal Support Engineer
Broadcom
------------------------------