To use the Monyog mail alert functionality to mail you alerts about a MySQL server you will first need to select that feature when registering a server. The 'Notification Settings' page allows you to choose whether you want to receive e-mail updates or SNMP traps or both, from Monyog. You can choose to receive e-mails or SNMP traps only when an alert condition arises or you can ask Monyog to send you an update of each data collection event. You will need to enter,
- The address to which Monyog is to send e-mails. Clicking on 'Configure SMTP' will take you to the Monyog Settings page where you can set the sender information. Please refer Mail Settings for more information.
- Enable traps by clicking on 'Configure SNMP' which will take you to the Monyog Settings page where you can set the destination and the port on which your SNMP manager is listening. Please refer SNMP 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.
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 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 configuration changes: 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.
Send notification when alert-able: 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.
Please refer Automatic Email Notifications for more information.