Blackout/Maintenance automation
Posted: Tue Mar 08, 2016 1:43 pm
Client wants blackout/maintenance enhancement features like the ones mentioned below actually automated
1) Bulk upload/Multiple hosts
2) Blackout using cluster name
3) Blackout using service group
etc.,
We are looking to get some custom script created to meet these requirements. We could see this may be achieved via couple of options (do we have other options?)
i) curl -d "cmd_typ=23&cmd_mod=2&host=[THE-HOST]&service=[THE-SERVICE]&btnSubmit=Commit" "http://[NAGIOS-SERVER]/nagios/cgi-bin/cmd.cgi"
ii) Using external commands - http://old.nagios.org/developerinfo/ext ... mand_id=16
However, we would like to know how exactly these are different & which is the best way to schedule blackout for multiple hosts & services via commandline, that can be run from a remote host. Please advise on how to approach a feasible solution via scripting. Is there any existing script that can be customized?
Rgds,
1) Bulk upload/Multiple hosts
2) Blackout using cluster name
3) Blackout using service group
etc.,
We are looking to get some custom script created to meet these requirements. We could see this may be achieved via couple of options (do we have other options?)
i) curl -d "cmd_typ=23&cmd_mod=2&host=[THE-HOST]&service=[THE-SERVICE]&btnSubmit=Commit" "http://[NAGIOS-SERVER]/nagios/cgi-bin/cmd.cgi"
ii) Using external commands - http://old.nagios.org/developerinfo/ext ... mand_id=16
However, we would like to know how exactly these are different & which is the best way to schedule blackout for multiple hosts & services via commandline, that can be run from a remote host. Please advise on how to approach a feasible solution via scripting. Is there any existing script that can be customized?
Rgds,