Hello all, I'm using Zenoss V 2.2.3 and monitoring few Adtran devices. No matter how I setup event mapping, the events still go to /Events/Unknown (should be going to /Events/Transport/Adtran, which exists), unless I have a mapping for each individual unique event.
- I had issues with event parsing (parseTag failed in zensyslog.log) for adtran devices, but was able to take care of it by making the following changes to $ZENHOME/Products/ZenEvents/SyslogProcessing.py Original: Code: r"^(?P<deviceModel>[^\[]+)\[(?P<deviceManufacturer>ADTRAN)\]:(?P<component>[^\|]+\|\d+\|\d+)\|(?P<summary>.*)" Changed to: Code: r"^(?P<deviceModel>[^\[]+)\[(?P<deviceManufacturer>ADTRAN)\]:(?P<component>[^\|]+\|\w+\s+\d+\|\d+)\|(?P<summary>.*)" This took care of properly formatting the event in event console. device ---------------component-----------eventclass---------summary adtran-dev1 ------- T1|Sl 2|11 ---------- /Unknown -------- T1 Curr ES Thrs Exceeded So my question is, how do I find the eventClassKey? From the documentation, I see that it is most probably the component, what are the list of components for adtran devices or how do I go about finding this? Can the eventClassKey be a regex? Thanks much! -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=25378#25378 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
