Oh. That should be easy. Look at event commands, and them zensendevent... http://www.zenoss.com/community/docs/howtos/send-events/
You shouldn't even need python. -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University jgillis wrote, On 7/6/2009 7:49 PM: > tcaiazza wrote: >> If these are snmp traps make sure you set the linkUp trap zEventSeverity is >> set to clear. i think by default it comes in as a warning. > > > Yes, if I set the linkUp event to clear, then it does clear itself, and the > corresponding linkDown. > However, I want to know when an interface went down then back up, rather than > it just being invisible. Ideally, I'd like the linkUp to clear itself and the > linkDown, as well as generating a new internal event that I create > (linkFlapped) or something. > > If this is possible, I expect I'd have to use some python in the event > transform, but haven't been able to find any info on it in any docs, so I was > hoping I could get some confirmation whether or not it was possible, and if > so, if anyone had any examples I could look at. > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=36749#36749 > > -------------------- 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
