Difference between revisions of "ZenDMD Tips"
From Zenoss Wiki
Line 1: | Line 1: | ||
+ | ZenDMD is the python-based interpreter you can run as the <tt>zenoss</tt> user: | ||
+ | |||
+ | <console> | ||
+ | $ ##i##zendmd | ||
+ | Welcome to the Zenoss dmd command shell! | ||
+ | 'dmd' is bound to the DataRoot. 'zhelp()' to get a list of commands. | ||
+ | Use TAB-TAB to see a list of zendmd related commands. | ||
+ | Tab completion also works for objects -- hit tab after an object name and '.' | ||
+ | (eg dmd. + tab-key). | ||
+ | >>> | ||
+ | </console> | ||
+ | |||
+ | You can do a lot of powerful things from <tt>zendmd</tt>. This page documents some of them. | ||
+ | |||
== ZenDMD Tips - Don't work hard, work smart! == | == ZenDMD Tips - Don't work hard, work smart! == | ||
Revision as of 19:48, 8 August 2012
ZenDMD is the python-based interpreter you can run as the zenoss user:
$ zendmd
Welcome to the Zenoss dmd command shell!
'dmd' is bound to the DataRoot. 'zhelp()' to get a list of commands.
Use TAB-TAB to see a list of zendmd related commands.
Tab completion also works for objects -- hit tab after an object name and '.'
(eg dmd. + tab-key).
>>>
You can do a lot of powerful things from zendmd. This page documents some of them.
ZenDMD Tips - Don't work hard, work smart!
- ZenDMD Tip - Test & Delete Overrides
- ZenDMD Tip - Quickly Audit Enterprise Collectors
- ZenDMD Tip - Replace modeler plugin programmatically
- ZenDMD Tip - Create Users in a Jiffy
- ZenDMD Tip - Recreate Device Rels
- ZenDMD Tip - Fix Broken Muiltigraph Collections
- ZenDMD Tip - Fix Broken Graph Report Elements
- ZenDMD Tip - Set Titles via Reverse Lookup (PTR record)
- ZenDMD Tip - Zet manageIp via Host Lookup (A record)
- ZenDMD Tip - Remove Invalid Devices from Collectors
- ZenDMD Tip - Audit Transforms
- ZenDMD Tip - Check and Repair Device Objects with Missing DeviceClass