I am looking for a API post command to disable and enable alert for a particular component for example hive_metastore_process or hive_server_process. I have seen the API to modify the alert definitions using POST command and not for Enable/Disable. Please can someone help with the details for POST?
I am new to this can you please provide in details I am looking for automation script for stoping and starting hadoop ambari. first I am looking for disabling alerts using script can you please provide solution.