Monitoring host 192.168.24.69, the following with a for the monitored host 192.168.24.79, the following with the B ID remember to import monitoring MySQL templates files in the a server cacti 1. Install Snmp#yum installed on B net-snmp#vi/etc/snmp/snmpd.conf change the following section to start the SNMPD service and join the boot task #service snmpd start#chkconfig snmpd on 2. In MySQL b to perform assigned to a server query B server MySQL permissions, otherwise do not get the information of B server MySQL mysql>grant process,super,replication client on * * to "cacti" @ " 192.168.24.69 "identified by" cacti ";
Mysql>flush privileges; 3. Access a server's cacti (1) Click Add in Device
(2) Fill in description and host Name, select Host Template (Local Linux machine) and check the monitor host
After create, if there is no problem with the SNMP connection, the information for the B server is displayed, or thethe word "SNMP error"
(3) Select the X MySQL processlist GT in assocated Graph templates and click Add (4) to click on the "
Create Graphsfor this Host "
(5) Add the x MySQL processlist GT to the list and click Create to the B server MySQL monitoring has been completed, drink a cup of tea/smoke, come back to see a server/var/www/html/cacti/rra there is no build "b server Ip_ State_mysql.rrd "file, if any, just wait to figure out the data. Reference Source: http://www.360doc.com/content/12/0711/22/146562_223674116.shtml
Cacti add MySQL monitor (remote server)