Tuesday, October 1, 2013

Zenoss device names are tied to the ip

If you use the change ip of a device in zenoss using the reset/change ip menu item, the ip will be update in zenoss. Unfortunately all of the worker calls go to the device id which is currently the old ip.



You can fix this by changing the Device Id in Zenoss using REST calls

Here’s how:

Go to zenoss Web Admin page, identify the device Id for which you want to change
e.g:
http://example.com:8080/zport/dmd/Devices/Server/Linux/devices/server01.contoso.com

Add to the end of the URL to include /renameDevice?newId=newDeviceId

to become:

http://example.com:8080/zport/dmd/Devices/Server/Linux/devices/server02.contoso.com/renameDevice?newId=server02.contoso.com

Press Enter and the DeviceId will change to the new one.

Troubleshooting:

If the server02 name is not recognized by the network, make sure the name is added into the DNS first before you do it.

No comments:

Post a Comment