how do I remote command line disable of event handlers
Posted: Thu Oct 04, 2012 6:33 pm
Hello,
I need to provide a way for our IT team to remotely disable event handlers. Ideally, this is done remotely through some sort of API/hook, but they could script out a login via the command line and run some sort of disable command on the Nagios machine if necessary. They do not have access to the Nagios XI GUI. I would like them to integrate a command into their maintenance scripts that will disable the event handlers I have set up when the IT team does upgrades/maintenance to the webservers that would otherwise cause the event handlers to fire.
Then, I would like to add another command to re-enable the event handlers at the very end of their maintenance script.
Can you help? Thanks.
I need to provide a way for our IT team to remotely disable event handlers. Ideally, this is done remotely through some sort of API/hook, but they could script out a login via the command line and run some sort of disable command on the Nagios machine if necessary. They do not have access to the Nagios XI GUI. I would like them to integrate a command into their maintenance scripts that will disable the event handlers I have set up when the IT team does upgrades/maintenance to the webservers that would otherwise cause the event handlers to fire.
Then, I would like to add another command to re-enable the event handlers at the very end of their maintenance script.
Can you help? Thanks.