masterzen / mysql-snmp

Net-SNMP perl agent for monitoring MySQL servers
http://www.masterzen.fr/software-contributions/mysql-snmp-monitor-mysql-with-snmp/
GNU General Public License v2.0
67 stars 33 forks source link

mysql-agent not registering with snmpd on MacOSX #11

Open geoaxis opened 13 years ago

geoaxis commented 13 years ago

mysql-agent is unable to register with snmpd on MacOS X

I am running snmpd as follows

snmpd -a -c /etc/snmp/snmpd.conf -m MYSQL-SERVER-MIB -f -DTOKEN -V -q

snmpwalk works for entrprises but not for snmpwalk -m MYSQL-SERVER-MIB -v 2c -c public localhost enterprises.20267

I have run out of all ideas. Previosly I thought there was some problem with CPAN and SNMP (I cannot track it back again). I would really love to monitor mysql with snmp

masterzen commented 13 years ago

Sorry for the late answer. What version of snmpd are you running? Check that agentX is actually enabled in your snmpd.conf and that the agentX socket perms allow mysql-snmp to read and write to it.