On Sep 4, 2008, at 10:28 AM, pregan wrote:
I am messing around with transforms. is it possible to run python scripts from the CLI and access the zenoss objects .. ?

nm is right about this being a tough thing to test within zendmd, but you can get close enough to be very useful. Here's an example of how to get a reference to an existing event in zendmd. The first thing you want to do is click on your event's details from the event console and grabbing its "evid". Then you can do the following..

evt = dmd.ZenEventManager.getEventDetailFromStatusOrHistory("YOUR_EVID_HERE")

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to