ZenDMD Tip Renaming Modifying Device Properties
From Zenoss Wiki
Revision as of 09:44, 1 August 2013 by PaVanGJakati (Talk | contribs)$7
We wish to modify certain properties of Devices configured in Zenoss. Easy and reliable way of doing would
be to use zendmd console with a small script.
Getting into zendmd console :
On Zenoss Master Server , run following command as zenoss user .
- zenoss-master-server>zendmd
To find the device path , run following command
# Parameter can be Ip address or Device titile in Zenoss.
- >>>d = find=("Parameter")
- >>>d
Output of above command would look like below :
<Device at /zport/dmd/Devices/XYYZ/XXX/YYY/devices/device-id>
- for dev in dmd.Devices.XYYZ.XXX.getSubDevices():
- if dev.id =="current value or paramter used in previously"
- dev.renameDevice("Desired-name")