Monitoring mysql over snmp has various advantages, one being that you can write snmp plugins and feed them onto cacti or nagios, secondly it is less resource intensive. as SNMP works over UDP. The mysql-snmp is based on NetSNMP and connects to the remote mysql server.
First download the mysql-snmp on your remote mysql server
1 | [root@fedora local]# git clone git://github.com/masterzen/mysql-snmp.git |
1 2 | [root@fedora local]# cd mysql-snmp [root@fedora local]# make install |
Next we configure “/etc/snmp/snmpd.conf” with the following values
Continue Reading…