cd /usr/local/src
wget http://www.faemalia.net/mysqlUtils/teMySQLcacti-20060810.tar.gz
tar xzvf teMySQLcacti-20060810.tar.gz
按照官方文档中的3步
1). Put mysql_stats.php and dumpMemcachedStats.php in cacti/scripts/
本文只拷了mysql_stats
cp teMySQLcacti/mysql_stats.php /var/www/html/cacti/scripts
2)
Either ensure your cacti poller is cron'd every 1 minute, or run the included BASH shell script to create a 300/600 step/heartbeat version of the XML file.
但其实tar本来就有cacti_host_template_temysql_host-step300-heartbeat600.xml
上面的步骤很多余
3)Import the .XML host using the cacti webinterface. Note,
上面3步安装好后,开始再按照官方文档产生图
GRAPH CREATION
==============
0. Make sure you installed mysql_stats.php and dumpMemcachedStats.php.
1. Go to Management/Devices.
2. Add a new device.
3. Description can be whatever you want.
4. Hostname should resolve to IP of database machine.
5. Host template is teMySQL or memcached Host.
6. Now choose the "Create Graphs" link.
7. Highlight all graphs for the host (assuming you want them all).
8. Choose "Create"
9. A page will come up with several Password/Username pairs, fill them
all in with the cactipasswd/cactiuser you chose above. Hint: If you're
using Firefox, the second host you do this for you can just press down-
arrow twice, then tab, and the value will be filled in automatically
by the browser. The first time, I suggest typing in the username, copying
it, then doing a "paste-tab-tab-paste-tab-tab..." key combo until they're
all filled in, then repeat for the password. Painful, but doable.
分享到:
相关推荐
cacti 关于mysql端口的监控模板
Cacti安装监控mysql插件
官方支持脚本,用于最新版Cacti 1.1.38监控mysql数据库 5.7
cacti 中文版 下载 安装 配置 操作
linux+cacti+syslog-ng+snare实现日志集中管理
整理的Cacti1.2版本一键安装脚本,包括PHP7和Spine、Mariadb。在CentOS7下,先执行 install.sh 安装,推荐安装1.2版本 按提示输入数据库 root密码、cacti密码、本机SNMP团体字即可。登录web(http://ip/cacti) 完成...
cacti中文版安装.pdf
centos 一键安装cacti1.2.22脚本以及软件
cacti中文版安装详细配置教程,值得拥有,敬请期待吧!
windows10安装cacti1.2.19
以前监控mysql的php脚本的一个Bug
cacti备份,mysql数据库更改密码
基于windows2003+iis6.0的cacti系统的安装,系统环境:windows 2003+iis6.0 安装包: php-5.1.1-Win32.zip mysql-5.0.19-win32.zip ActivePerl-5.6.1.638-MSWin32-x86.msi rrdtool-1.2.15-cygwin-1.5.20....
使得Cacti的安装相比Centos7更简单,脚本的功能是在Centos8上一键安装cacti1.2.7。准备一台centos8的主机,所有文件放在/root目录,使用root账号安装,期间需要输入: 数据库root及cacti的用户密码、本机snmp团体字 ...
Cacti和weathermap插件安装及使用文档.doc
cacti中文版安装配置
Cacti For Windows安装手册
Cacti自动化脚本一键安装,自动部署环境
,Cacti运行依赖的软件很多,mysql、PHP、Apache、Spine、rrd等,一个一个的安装非常繁琐,而且还容易出错,全新安装的话可以采用论坛提供的windows安装包安装,非常简单。 安装完安装包过后,找到Cacti的位置,一般...
CentOS系统下Cacti中文版安装配置