TECHZEN Zenoss User Community ARCHIVE  

Zenoss 5 One event to close another

Subject: Zenoss 5 One event to close another
Author: [Not Specified]
Posted: 2016-01-21 11:53

Hello Gurus, I have a question that might be simple but what I am trying to do is setup one SNMP event to close another. I have a brand new UPS that, unpike my APCs that work perfectly with Zenoss, there is a learning curve.

I have loaded all the MIBs and it can read the OIDs as they come it. When I pull the power an event is generated:

snmp trap xupstdOnBattery

When I plug it back in, another event is created:

snmp trap xupstdUtilityPowerRestored

Is it possible to rig it up so that when the power restored event is created on a device that already has the On Battery event active, it closes the event out automatically

I did poke around in the event mapping and found "zEventClearClasses" under the OnBattery event and set it to the mapping of the Power Restored event of "/HW/Power/UPS/ClearEatonUPS/xupstdUtilityPowerRestored"

But, 2 events are still being created and nothing is being closed out.

Thanks in advance.



Subject: First thought is, you'll need
Author: [Not Specified]
Posted: 2016-01-21 13:15

First thought is, you'll need a transform to set the dedupid of the Restored event to match that of the Battery event, and then change the event severity of the Restored event to 0-clear.



< Previous
Problems added new topics
  Next
Get another Datapoint value in Transform
>