mysql-snmp icon indicating copy to clipboard operation
mysql-snmp copied to clipboard

Slave counters do not seem to be working

Open mgmonteleone opened this issue 12 years ago • 1 comments

Server version: 5.5.8-log MySQL Community Server (GPL) CentOS release 5.5 (Final) (64Bit)

All installed fine...

But noticed that the Slave counters do not return accurate data.

snmpwalk -m MYSQL-SERVER-MIB -v 2c -c public localhost enterprises.20267 |grep Slave

MYSQL-SERVER-MIB::mySlaveRunning.0 = Gauge32: 0 MYSQL-SERVER-MIB::mySlaveStopped.0 = Gauge32: 0 MYSQL-SERVER-MIB::mySlaveRetriedTransactions.0 = Counter32: 0 MYSQL-SERVER-MIB::mySlaveLag.0 = Gauge32: 0 MYSQL-SERVER-MIB::mySlaveOpenTempTables.0 = Gauge32: 0

Same data if slave is running or not running....

Is this a known issue?

mgmonteleone avatar Jul 06 '12 08:07 mgmonteleone

Do you have started mysql-snmp with --slave? Otherwise mysql-snmp doesn't take slave information.

masterzen avatar Jul 06 '12 09:07 masterzen