To use the Monyog Notification alert functionality to send you alerts about a MySQL server you will first need to configure the different Notification channels from “Settings -> Notification & Maintenance”. Once you configure the notification channels from the Settings page, those channels will now be available for sending alert for each of the servers. If you have enabled all the channels, then you will get following alert options: Email, SNMP, Slack, Pagerduty and Syslog.
Different Notification Channels
Use this option, to get Monyog alerts via Email. Once you enable it, you will need to enter:
The addresses to which Monyog is to send e-mails. There is an Option to set a distinct email distribution list for warning and critical alerts. You can define a proper demarcation between the users who will receive a particular alert based on the alert status. For instance, if you want only your on-call DBAs to receive critical alerts 24/7, this feature handles that easily. Please refer Mail Settings for more information. Details about the SMTP server to use. Monyog does not have a SMTP server of its own. It will need to connect to a SMTP server on the Internet, your local network or your local computer. The settings are same as you would enter when installing or configuring a mail client program like Outlook or Outlook Express.
Enable this option to get alerts via SNMP traps. Refer SNMP settings for more information
Enable this option to get alerts on Pagerduty. After enabling, you get a drop-down option to select a rule which you created at “Settings -> Notification & Maintenance -> PAGERDUTY”. All the alerts will be sent to this rule in Pagerduty. Refer Pagerduty Settings for more information
Use this option to send alerts to Slack. Like pagerduty, you get a drop-down option to select a slack channel to which the alerts should be sent to. Refer Slack Settings for more information.
Write to Syslog
Enable this option if you want Monyog to write the alerts in the Syslog (of the machine where Monyog is installed). Refer SYSLOG Settings for more information.
MONITORS (CRITICAL & WARNING)
Notify When the Monitor is in Alert State For: Here, you can specify the number of times a counter should be in an alert-able state, consecutively, before a notification is sent.
Notify till stable: Monyog sends mail alert notification until a given monitor becomes stable. The value in the "remind me after every" specifies how often you'd want to receive the mail alert notification i.e. if set to three, then for every three consecutive data collection for which the monitor is not stable, a mail alert is sent.
Notify when the monitor becomes stable: If a monitor goes into alert-able state and then becomes stable, a stable e-mail or an SNMP trap is sent by Monyog.
Notify when server restarts: If you enable this option, it will send an alert if server restarts between two data retrievals. With managed hosting, the MySQL server may be restarted automatically as part of routine maintenance or after a server crash. Knowing when this has occurred can be useful.
Notify when changes to MySQL configuration is detected: If you enable this option, Monyog will send an alert whenever there is a change in MySQL configuration. These alerts in the form of emails or(and) SNMP traps are sent whenever Monyog detects a change in server variables using SET GLOBAL statements or in the MySQL configuration file.