I am working on a project where I need to enable a maintenance mode for a single node at a time through a script I can give to other teams that don't have access to Pager Duty's site. The idea of the script is that we have a certain team who does certain maintenance tasks on their own and it triggers Pager Duty each time they do it every few weeks. It is an annoying thing that we would like gone.
We currently use Consul as well as Riemann and I have managed to create a script that will enable/disable the maintenance mode built into consul but that doesn't seem to work as it still sends pager duty alerts.
Suggestions on how I can do this? I noticed a lack of information on this online. I know this is not a typical question for this site but hoping someone here knows how to solve this issue.