Anyone knows how to assign a trap PDU variable to custom nimsoft alarm variable when converting SNMP trap to an alarm?As we do for alarm suppression key or alarm source? Something like:custom_1 = $1custom_2 = $2
I assume that you are talking about SNMPTD probe. Correct me if I am wrong.
In [Message Text] field, you are able to use $n to represent specific PDU.
Here is an example.
Test Message $1 $2 $3
Yes I’m talking about snmptd probe.
On snmptd probe I only can put PDU variables on alarm message as you describe and after I have to pre-procesing script to parse alarm message and fill alarm custom variables!
I would like to do this only on snmptd probe and without to do parse text.
Now when converting trap to alarm I put on message
Test Message | $1 | $2 | $3
And on pre-processing script I parse message using the character "|"
Should be easier if on snmptd probe I could assign custom variables like I do with suppression key and much easier if I would be able to use also regex on it.