I have aproximately 100 switches that need to be renamed in zenoss and a csv file with the IP address and corresponding name. Is there a way to rename a device from the terminal so that I can knock up a quick script to parse the csv and rename the devices based on the IP address?

link|improve this question

50% accept rate
feedback

1 Answer

Indeed there is. There is a zendmd CLI interface which provides a pythonic way to interact with Zenoss.

$ /usr/local/zenoss/zenoss/bin/zendmd

I'm not 100% sure, but "renaming" devices is probably akin to "moving" them in the devices hierarchy. There are logs of examples here to get you started.

link|improve this answer
Recommend you hit #zenoss on irc.freenode.net someone there likely knows exactly how to do this off the top of there head. – SpacemanSpiff Jan 1 '11 at 0:42
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.