I'm researching monitoring solutions. I really like a number of aspects of 
Zenoss, but the device discovery process simply won't work for EC2. As others 
noted in this thread, on EC2 you have nodes popping in and out, and this is 
expected. So I'm looking for ways I could add/remove devices in Zenoss in an 
automated way.

I know how to query EC2 for the list of all machines and their IP addresses 
that I would like to be monitored. I also know when I am adding or removing a 
node, and would like to be able to inform Zenoss without necessarily going to 
the web interface, since I could be automatically adding and removing machines 
all the time to scale to demand.

The best thing I can think of right now is to start Zenoss with no devices and 
no autodiscovery. Then as I add nodes, I make an API call (via REST?) to Zenoss 
to inform it to start monitoring this device. When I intentionally remove a 
node, I would then make an API call to Zenoss to tell it that this device no 
longer exists (eg, don't panic).

I suppose this may be possible with Python, but I've never used Python and I'm 
not inclined to become an expert at it to accomplish this. I tried searching 
for the REST API but all I've found is some small fragments, such as

http://dev.zenoss.org/trac/wiki/HowToAddDevice

Is there a link to a more complete REST API document?

Thanks




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=39184#39184

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to