大家好!!
我下载了最新的Percona监控插件1.1.8,用雷竞技下载官网于raybet雷竞技竞猜在线官网使用cacti监控MySQL实例。但找不到任何模板文件雷竞技下载官网praybet雷竞技竞猜在线官网ercona-monitoring-plugins-1.1.8 /仙人掌目录中。
root@raybet雷竞技竞猜在线官网monitor: / home /仙人掌雷竞技下载官网/ percona-monitoring-plugins-1.1.8仙人掌#噢
总共24
drwxr-xr-x 6 mysql 122 4096 Jan 10 14:44 ./
drwxr-xr-x 11 mysql 122 4096 Jan 10 14:44
drwxr-xr-x 2 mysql 122 4096 Jan 10 14:44 bin/
drwxr-xr-x 2 mysql 122 4096 Jan 10 14:44 definitions/
drwxr-xr-x 2 mysql 122 4096 Jan 10 14:44 misc/
drwxr-xr-x 2 mysql 122 4096 Jan 10 14:44 scripts/
如何获取和安装percona -monitoring- plugin雷竞技下载官网s1raybet雷竞技竞猜在线官网.1.8的模板?
参考连结:
[url]https://www.雷竞技下载官网percona.com/blog/2018/02/05/praybet雷竞技竞猜在线官网ercona-monitoring-plugins-1-1-8-release-now-available/ [/ url]
[url]https://www.雷竞技下载官网percona.com/doc/praybet雷竞技竞猜在线官网ercona-monitoring-plugins/1.1/cacti/installing-templates.html [/ url]
嗨nilaxan;
需要复制到Cacti安装中的文件应该在scripts子目录中。
从你链接的教程:
CD percona-monitoring- pluins 雷竞技下载官网-raybet雷竞技竞猜在线官网1.0.0/cacti/ Root& #64;cactiserver# cp scripts/ss_get_mysql_stats.php /usr/share/cacti/site/scripts .php
可能会让人们感到困惑,因为它让你“cd”到cacti目录,而不是一直到你实际复制的scripts子目录,所以你必须在“cp”命令中指定脚本子目录。
嗨scott.nemes
我已经正确复制了ss_get_mysql_stats.php脚本从percona-m雷竞技下载官网oraybet雷竞技竞猜在线官网nitoring-plugins/cacti目录到cacti的scripts位置。
我的问题是在最新的percona-monitoring-plugins 1.1.8版本(Linux通用版)中“云找不到模板(用于绘图的.xml文件)”。雷竞技下载官网raybet雷竞技竞猜在线官网
嗨nilaxan;
抱歉,我误解了你的问题。使用通用的Linux tarball,看起来您必须通过运行“make.sh”(应该在文件被提取的基本目录中)来自己生成模板。这将把模板放在“。/release/code/cacti/templates/”中。
然而,通过percona-monitoring-plugin包(即RPM或DEB)安装它们要容易得多,因为这些包已雷竞技下载官网经构建了模板。raybet雷竞技竞猜在线官网我刚刚在Ubuntu 16.04上用DEB包进行了测试安装,它自动将它们放置在正确的位置(/usr/share/cacti/resource/percona/templates/在我的默认cacti安装的情况下)。雷竞技下载官网
你好,Scott Nemes
非常感谢您的详细解释。我也安装和检查雷竞技下载官网-raybet雷竞技竞猜在线官网monitoring-plugin(版本1.1.8)使用.deb安装文件。它在Ubuntu 16.04上按预期运行。