Jan 12, 2009 5:58 PM
Script the change in Production State
-
Like (0)
Is there an API call or a way to script or automate the change in production state for a given server or class of devices? When we deploy our new software we have a program that manages the process. It moves web pages, takes down services on various machines, etc. We would like to be able to put our production environment into maintenance mode within Zenoss from within this program and then put it back to production mode again, through this program when our work is complete.
If there is no API call, is there any documentation about which queries would need to be run or trigger run or whatever within mysql to affect the change in state?
Thanks
_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org ([email]zenoss-users@zenoss.org[/email])
http://lists.zenoss.org/mailman/listinfo/zenoss-users
I gave this a try, but I keep getting prompted for the username/password. It seems as though zenoss doesn't accept the login creds from the address line like that.
It could be something with my installation; has this worked for others?
I have seen the version of wget cause this to fail. There is probably some option that needs to be used or something but I couldnt figure it out.
I bet if you try the same call using curl it will work.
Confirmed : curl makes it work fine !
In my case, I tried to figure out why the wget would not work and I could not. I then downgraded the wget to a version that I confirmed worked from another box.
Right you are; curl worked perfectly. Thanks!
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||