We have an auto scaling group in amazon.
We would like to be able to drop a start up script on an image and have these servers auto attach themselves to zenoss when they launch.
Is this possible, and does anyone have a simple example in any language of it happening/working?
Look at some of the puppet integration for examples I would say.
You can certaily do it if you can SSH in to the zenoss master and run dmd - or you could use one of the APIs. I recommend python if interfacing with Zenoss...
LEPP Computer Group
I currently use puppet to push and unzip the zenplugins on most of my linux servers. From there a script runs a restful query to zenoss and creates a device in the proper location. python's xmlrpc library is also useful for remotely sending zenoss commands.
Using a dropped script, you could do this:
This is direct from documentation actually and is useful for bulk-loading as well. If you can drop a script like this you could do it, however you would need to secure the file since the password would be in the plaintext wget.
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.