Cacti (home)ForumsDocumentation

threads

type:
user_template_graph
usertemplate:
threads
author:
circulosmeos
description:
MariaDB MaxScale's threads info graphs
Cacti:
0.8.7-0.8.8
homepage:
https://circulosmeos.wordpress.com/2015/08/03/monitoring-mariadb-maxscale-with-cacti/
date:
2015-08-03
includes:
notrequired
script:
SNMP XML
templates:
mariadb,
maxscale,
mysql

Download

VersionFile
0.8.7 - 0.8.8monitoring_maxscale_with_cacti.tgz

Installation

CONFIGURATION IN MAXSCALE SERVER

  • install and configure snmpd if not yet available.
  • Add this line at the end of /etc/snmp/snmpd.conf and restart the service
  extend maxscale /usr/local/bin/maxscale_stats.sh   
  • Copy the file maxscale_stats.sh in /usr/local/bin. Add exec permissions:
  chmod a+x /usr/local/bin/maxscale_stats.sh    
  • Check that it outputs five lines when executed. If not, probably your maxscale

installation path or password are not the defaults ones (at least for v1.1): edit the maxscale_stats.sh file and change both values accordingly.

TEMPLATES INSTALLATION

Import:

  cacti_graph_template_snmp_-_mariadb_maxscale_information.xml

Now graphs for a Device can be created adding

  SNMP – MariaDB MaxScale Information

under “Device / Associated Graph Templates” for any SNMP Device.

Screenshots






Personal Tools