DX NetOps

  • 1.  Problem white Event Rule

    Posted Sep 30, 2016 04:02 AM

    Hello,

    I want to great an critical Alarm when a power supply on switch goes down. The Switch sents a trap when the power supply goes down. Spectrum creats an event fort he trap (Event Type = 0x4ca0331).

     

     

    Because it is an universal Event for every failure in the chassi. In the Event Configuration I want to create an Event Rule fort he Event 0x4ca03331. There is my problem. The „chassisTrapAlertDescr" is a String and I want to compare this String but the folow Event does not trigger. I don’t understand where is my mistake.

    Event message

     

    Event Rule



  • 2.  Re: Problem white Event Rule

    Posted Sep 30, 2016 01:53 PM

    One thing I noticed is in the event, I see "Power supply is inoperable" and in your event rule I see "Power supply ist inoperable". So they do not match and it will not trigger the rule.

     

    I also recommend using regexp instead of strcmp. I have never had much luck with strcmp.

     

    Joe