DX NetOps

Test host Alarm is not showing the attribute value

  • 1.  Test host Alarm is not showing the attribute value

    Posted Dec 19, 2017 06:05 AM

    Hi,

    I have written below procedure that will add SPM Test Description Field in alarm description.

    0x04560019 E 50 P "CreateEventWithVariables({C CURRENT_MODEL},{H 0xfff0009d},SetEventVariable(GetEventVariableList(),{I 102},ReadAttribute({C CURRENT_MODEL},{H 0x456002a})))"

    0xfff0009d E 0 A 3,0x4560016

     

    The procedure is successfully parsed and description field is appearing on the Alarm Details of SPM Test(refer Screenshot1)

    However when I am trying to assert the alarm on the Test host model by selecting the option(Screemshot2) , the Alarm massage is not displaying any value(refer screenshot2)

     

    So wrote another procedure so that SPM test Alert gets asserted on SPM Test Host Model, the procedure is getting parsed but alert is not asserting on the SPM Test Host Model, Below is the procedure,

     

    0xfff0009d E 50 P " \

    CreateEventWithVariables( \

       ReadAttribute( \

             {C CURRENT_MODEL}, \

             { H 0x129fa } ), \

       { H 0xfff0009e}, \

       GetEventVariableList())"

    0xfff0009e E 0 A 3,0x4560016

     

    Attribute 0x129fa is model handle of Test Host.

     

    Can anyone please guide me if something is missing or wrong?

    Regards

    Rohit