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

Typos and wrong conditions #30

Open somethingwrong1 opened 8 years ago

somethingwrong1 commented 8 years ago

Debian, mysql-snmp v1.2_01

  1. Typo in /etc/init.d/mysql-snmp DAEMON=/usr/sbin/mysql-smnp
  2. /usr/sbin/mysql-snmp, line 776: if ($opt{innodb} && $status{'have_innodb'} eq 'YES') $status{'have_innodb'} is unset so the agent doesn't create any OIDs with "SHOW ENGINE INNODB STATUS" metrics.