I thought the one weakness of transforms (well one of the ones that affects this) is that you can't get evt.count in them... -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University
webpass wrote, On 1/16/2009 1:17 PM: > I think you could do this somehow using Event Transforms. Any of the trap > details can be changed, maybe you can somehow match the detail > (evt.somedetail) and if it's new then set evt.count = 1 > > > Code: > > > if evt.somedetail = someFunctionCheckingForUniqueness: > evt.count = 1 > else > evt.count = evt.count+1 > > I'm not sure how you would write the function to check for uniqueness, I'm a > Python noob, and an Event Transform noob, and really I'm not sure whether > this will work or not, but it's somewhere to start... 8) > > > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=30148#30148 > > -------------------- m2f -------------------- > > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
