When you look at the details you should the OID that is for the value you want.
If you look at my transform for snmpauthenicationfailures.
Code:
#Changes the Summary
evt.summary = "SNMP Authentication Failure from " +
getattr(evt,"cExtSnmpTargetAuthInetAddr.0")
#Changes the Event Class
evt.eventClass = "/Security/Auth"
#Changes the Component
evt.component = "SNMP"
#Changes the Message to the Summary
evt.message = "SNMP Authentication Failure from " +
getattr(evt,"cExtSnmpTargetAuthInetAddr.0")
This portion
Code:
evt.summary = "SNMP Authentication Failure from " +
getattr(evt,"cExtSnmpTargetAuthInetAddr.0")
will pull or get the attribute from the details and transform the summary to a
more readble message. This pulls the username of the person that logged out.
You can use the same method to pull the value you want. Also create another
mapping for the clear message and set it as the clear for that specific event.
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=28181#28181
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users