VirTechSystems
2012-12-17 19:27:39 UTC
VirTechSystems [http://community.zenoss.org/people/VirTechSystems] created the discussion
"Automate Add Device"
To view the discussion, visit: http://community.zenoss.org/message/70581#70581
--------------------------------------------------------------
Hey,
I am trying to automate the process of adding a device for monitoring in Zenoss. My search has led me here, http://community.zenoss.org/message/5437#5437#5437 http://community.zenoss.org/message/5437#5437 , which was most helpful.
However, the devices I need to add can not be resolved by name and I would like the Title of the device to be set to more than the IP address. I can do it manually from the WebUI, so I suspect it can be set somehow.
My URL thus far is, http://zenoss:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=172.16.0.2&devicdPath=/Servers/Windows&productionState=1000 http://zenoss:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=172.16.0.2&devicdPath=/Servers/Windows&productionState=1000
I have tried many combinations of manageIp, title, deviceName as found in ZDeviceLoader.py with no luck.
Is it possible with this command or another command to set the Title of the device (with or without a modification of the .py file)?
I am running Zenoss Core 3.2.1 .
Thanks for your help,
Chris
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70581#70581]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Automate Add Device"
To view the discussion, visit: http://community.zenoss.org/message/70581#70581
--------------------------------------------------------------
Hey,
I am trying to automate the process of adding a device for monitoring in Zenoss. My search has led me here, http://community.zenoss.org/message/5437#5437#5437 http://community.zenoss.org/message/5437#5437 , which was most helpful.
However, the devices I need to add can not be resolved by name and I would like the Title of the device to be set to more than the IP address. I can do it manually from the WebUI, so I suspect it can be set somehow.
My URL thus far is, http://zenoss:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=172.16.0.2&devicdPath=/Servers/Windows&productionState=1000 http://zenoss:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=172.16.0.2&devicdPath=/Servers/Windows&productionState=1000
I have tried many combinations of manageIp, title, deviceName as found in ZDeviceLoader.py with no luck.
Is it possible with this command or another command to set the Title of the device (with or without a modification of the .py file)?
I am running Zenoss Core 3.2.1 .
Thanks for your help,
Chris
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70581#70581]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]