Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1097

Events suppress transform in Zenoss 4.2

$
0
0


if device and device.location().id == 'location_1' and device.id != 'test_router_1':
    dc1_router = device.findDevice('test_router_1')
    if dc1_router.getPingStatus() > 0:
        evt.eventState = 2

 

 

This should suppress all events in the ‘location_1′ when the device called ‘test_router_1′ is no longer pingable. Note that eventState (0,1,2) maps to New, Acknowledged, Suppressed.

I add this code to Event Classes >> Transform, but the system does not suppress the envents /Status/Ping.

 

Anybody can help me with this in 4.2 version.

Is there other way to filter the events that depends from a core router. for example removing in MySQL tables or something similar.

Thanks in advance.


Viewing all articles
Browse latest Browse all 1097

Trending Articles