DX Unified Infrastructure Management

 View Only
  • 1.  SNMP assign nimsoft alarm custom variables?

    Posted Sep 20, 2016 11:01 AM


    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 = $1
    custom_2 = $2

     

    #snmptd



  • 2.  Re: SNMP assign nimsoft alarm custom variables?

    Broadcom Employee
    Posted Sep 20, 2016 09:09 PM

    Hi.

    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

     

    Regards,

    Yu



  • 3.  Re: SNMP assign nimsoft alarm custom variables?

    Posted Sep 21, 2016 04:41 AM

    Hi,

     

    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.