There was an error in the script, Chet got me the fix and I updated it. Try it now, it works for me with
zendmd < brains.py

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



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

I tried exactly that......

[EMAIL PROTECTED] ~]$ zendmd < fixlayer3.py
Welcome to zenoss dmd command shell!
use zhelp() to list commands
... >>>   File "<stdin>", line 1
   try:
   ^
SyntaxError: invalid syntax
 File "<stdin>", line 1
   bah = i.getObject()
   ^
SyntaxError: invalid syntax
 File "<stdin>", line 1
   except Exception:
   ^
SyntaxError: invalid syntax
 File "<stdin>", line 1
print "Removing non-existent device from layer3_catalog: " + i.getPath()
   ^
SyntaxError: invalid syntax
 File "<stdin>", line 1
   dmd.ZenLinkManager.layer3_catalog.uncatalog_object(i.getPath())
   ^
SyntaxError: invalid syntax
... >>>




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

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

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