Use this action to specify the SNMP settings and options available for use with Monyog.
- Click Settings > SNMP settings to navigate to the SNMP settings page. Alternatively, you can click on the "Configure SNMP settings" link on the "Notifications Settings", when registering/editing a server's details, to arrive here.
- Target: Type in the name or IP address of the host to which you want Monyog to direct traps.
- Port: Enter the destination port here; by default, it is 162 for SNMPv1 traps. This is the port where your SNMP Manager (or Client) will listen on for traps.
- Community string: The SNMPv1 read/write community string helps classify your SNMP operations. By default Monyog sets it to "public", but you can change to whatever suits your need.
- Enable status traps: Status traps are sent when Monyog is starting up to indicate just that. If you want to be informed of when Monyog is starting up, select "Yes".
- Use the remote MySQL Server host IP as the SNMP trap agent address for Monitor traps: Check this option if you want the sender IP of the traps sent by Monyog to be that of the host where the monitored MySQL server is running, instead of the host where Monyog is running. Note, that this only affects the Monitor traps sent by Monyog.
- Clicking on Send Test Trap will send a status trap to the target and port specified, containing a string that indicates that this is a test trap.
- To have your SNMP client decode the arcane digits identifying a trap, you need to load Monyog’s Management Information Base (MIB) into your SNMP client. The MIB file is available in Monyog's installation directory. You can also download the file from the link provided in Monyog's browser interface.
Note more information on types of Traps:
- Monitor Traps: Traps sent when one of the Monitors reaches an alert condition. Just like the notification emails, it will contain details about the faulting Monitor.
- Status Traps: Sent when Monyog starts up (if status traps are enabled) indicating just that, i.e. "Monyog is starting up". Also, clicking on Send Test Trap sends a status trap with the string "This is a test trap! If you see this message, you have correctly configured SNMP for Monyog."
- Monitor traps are sent when the Send notifications over SNMP option is enabled, and the corresponding counters have mail alert enabled through the MOM.