The Zenoss Developer Guide has these instructions for running zendmd with scripts:

You can feed zendmd commands on stdin:
$ zendmd < AddDevices.py
You can also import scripts:
$ zendmd
import MyScripts
MyScripts.loadDevices(dmd)

http://www.zenoss.com/community/docs/
http://www.zenoss.com/community/docs/zenoss-dev-guide/2.2.0/ch06s01.html

Thanks,
Matt Ray
Zenoss Community Manager
community.zenoss.com
[EMAIL PROTECTED]



On Aug 20, 2008, at 3:11 PM, kbusque wrote:

It seems like this might be my issue 
http://www.zenoss.com/Members/cluther/fix-a-broken-layer3_catalog

By chance is there a way to not cut and paste this, maybe run a script or something else? I just get syntax errors messages when I try the cut and paste. Which just seems like a terrible idea.....




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24005#24005

-------------------- 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

Reply via email to