Configuration & Administration

1.  Auto-Clear Zenmodeler events?

Posted 10 days ago
Hi.

I'm doing tests with Zenoss Community v5.2.4.

I have 2 linux nodes added, and both down.

When I restart the Zenoss Machine with both nodes, obviously I get  node down events, but I get 2 more events with Zenmodeler.
192.168.0.190|zenmodeler|/Cmd/Fail|4|An error occurred while connecting: 113: No route to host.

When I turn on the nodes, the events of node down are cleared, but the Zenmodeler error events never get cleared.

Is there any way to clear theses events automatically?

Thanks.

------------------------------
Eirisdg
------------------------------


2.  RE: Auto-Clear Zenmodeler events?

Posted 10 days ago
You might look at the zEventClearClasses event class configuration property.  Your "Node down" event is auto-cleared by the "Node up" event when you switch the device on (actually both events are of class /Status/Ping - one with a Critical severity, the other with Clear severity).

Zenoss has this concept of an auto-clear fingerprint where any event of severity Clear where the device, component, eventClass and eventKey are the same as an existing, open event, the bad news" events are automatically Cleared - all of them.  The component and eventKey fields may be blank.  That's the starting point.

In addition, you can configure any event class to auto-clear events of OTHER event classes, provided the "good news" event is of severity Clear and the device, component and eventKey are the same as the "bad news" events to be closed.

So, if you navigate to the /Status/Ping event class, change the dropdown option from Mapping Instances to Configuration Properties and then add the event class of your modeler event (which looks like /Cmd/Fail  ) to the zEventClearClasses field, that might work.

I don't know if the /Cmd/Fail event has an eventKey field??  Don't have one in any of my event consoles at present.

You may also end up clearing more events than you really want to - /Cmd/Fail is used pretty widely if you are using ssh-based modeling/monitoring.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------



3.  RE: Auto-Clear Zenmodeler events?

Posted 9 days ago
It has sense, so if I don't have EventClassKey It may clear more than one event...

I'll try tomorrow.

Thank you very much!

------------------------------
Eirisdg
------------------------------



4.  RE: Auto-Clear Zenmodeler events?

Posted 8 days ago
Edited by Eirisdg 8 days ago
Well... i've tried but without effect.

It's like if the events of this type doesn't launch clear events, and there arent event key. Here is the event:



------------------------------
Eirisdg
------------------------------



5.  RE: Auto-Clear Zenmodeler events?

Posted 8 days ago
I think you may have tried this the wrong way around.  It is the /Status/Ping eventClass that you want to modify the zEventClearClasses property - add /Cmd/Fail to that.
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------



'