Forums | Webyog
Tools to manage and monitor MySQL databases
forums › forums › Monyog › Using Monyog › How To Mute Monyog Alerts ?
How To Mute Monyog Alerts for particular point of time .i.e during maintenance window ?
for example : i want to mute the alerts 1am- 3am daily .
Hello,
You can use the MONyog API for this purpose. You can disable the alerts by firing an API at 1 am and enable it again at 3 am. Here are the APIs:
To disable alerts: curl “http://192.168.1.1:5555/?_object=MONyogAPI&_action=Alerts&_value=disable&_user=admin&_password=Password&_server=Production001″
To enable alerts: curl “http://192.168.1.1:5555/?_object=MONyogAPI&_action=Alerts&_value=enable&_user=admin&_password=Password&_server=Production001″
You can refer to our documentation here >> http://monyogkb.webyog.com/article/118-using-the-monyog-api
Regards,
Pankaj
Team MONyog.