I've imported a package of MIBS for our Xerox printers, however, all the traps I recieve contain a generic description along the lines of "Device name has sent a trap printerAlert". Pretty useless. If you open the event and look at the details tab, there is a field named prtAlertCode, which contains a numeric value. These correlate to events that range from opening the cover to empty cartridges to removed cartridges.
Looking at the mibs, Xerox has provided an updated Printer-MIB (named rfc1759v2) which includes some fields from the proposed standard for printers. Inside this mib, there is a textual convention named prtAlertCodeTC that matches the prtAlertCodes to text strings. Is there any way to craft a transform that would minimally extract the numeric prtAlertCode value, but optimally provide the matching string value that describes the event. Now that I've figured out that I can't set up event classes that differentiate the events for me, because all the eventClassKeys are "printerAlert" I think I am stuck with a single event that works like a swiss army knife for dealing with these. I am currently trying this transform: Code: evt.summary="PrinterAlert for device " + device.getId() + ". Event prtAlertCode - " + evt.prtAlertCode Any other suggestions/help would be appreciated. ------------------------ James Roman -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=6794#6794 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
