Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20202

How To "Disable All Actions" Programmatically (using script)

$
0
0

Hi All,

 

I am looking for a way to be able to disable all alerts using a script. I know I can do it through Alert Manager by checking box "Disable All Actions" and I also know that this setting is not stored in anywhere in Database (have done tests with DB being offline). So, must be some kind of config file on app server or something...

 

Any help would be appreciated

 

Background (what am I trying to achieve):

I am trying to come up with solution to quickly disable all alerts in case of a major failure to avoid flood of emails whilst our engineers are focusing on resolving root cause. Ideally, later, I will link it to a text messaging service - let's say our engineers will send something like "mute" to a specific number and immediately all alert will be disable, until manually re-enabled again... well, for now I just need to first find a way how to script it

 

Thanks,

Alex


Viewing all articles
Browse latest Browse all 20202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>