Discussion:
Check reset IP for entire group
guyverix
2013-08-09 16:22:23 UTC
Permalink
guyverix [http://community.zenoss.org/people/guyverix] created the discussion

"Re: Check reset IP for entire group"

To view the discussion, visit: http://community.zenoss.org/message/74342#74342

--------------------------------------------------------------
Here is the JSON from a tcpdump to do this...

{"action":"DeviceRouter","method":"resetIp","data":[{"sort":"name","dir":"ASC","params":"{\"productionState\":[\"1000\"]}","uid":"/zport/dmd/Devices/Discovered","hashcheck":"-1779029544975093","uids":["/zport/dmd/Devices/Discovered/devices/guyver.iwillfearnoevil.com"],"ranges":[]}],"type":"rpc","tid":32}

I think you should be albe to use this as a starting point..  I have figured out how to change the device name, etc via curl, but nothing i can find allows to chage the IP easily..  I am still poking at it however.  There SHOULD be a way via curl to do this darnit!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74342#74342]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...