On May 8, 2008, at 1:39 AM, mikasaari wrote:
Is it possible to ignore non existent OID in some cases. At the moment (in my system)( if zenpack includes datasource oid for non existent hardware, there will be a warning in the event list. e.g. PowerEdge 1950 has processor2 datasource, but machine do not have such, then the warning is trickered. Is there possibility to ignore the OID in the zenoss somehow. I wouldn't like to make a local copy and then remove the datasources by hand, because then (if I have understood correctly), changes to the original zenpack wouldn't effect to to local copies. (?). Another possibility would be splitting the zenpack/event to different parts which could be applied in case of need, but this would mean changing the original zenpacks.

You can use an event class transform to ignore the "Error reading value for ..." events if you want.

1. Go to the /Perf/Snmp event class
2. Click on the menu and choose More -> Transform
3. Put in the following transform

if evt.summary.startswith("Error reading value for "):
    evt._action = "drop"

Note that there are four spaces before evt._action.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to