percona-monitoring-plugins icon indicating copy to clipboard operation
percona-monitoring-plugins copied to clipboard

Redundant argument in sprintf at /usr/local/bin/pmp-cacti-template line 25.

Open chrcoluk opened this issue 5 years ago • 2 comments

command to generate above error

pmp-cacti-template --script /usr/local/share/cacti/scripts/ss_get_mysql_stats.php definitions/mysql.def > mysql-template.xml

I prefer to just use pre made templates but seems is no download link.

chrcoluk avatar Oct 29 '19 13:10 chrcoluk

See https://github.com/percona/percona-monitoring-plugins/commit/8bb15900e308a1c79cc1b11ec2f07b4b8b5ae28b

tersmitten avatar Nov 27 '20 12:11 tersmitten

sed -i -e 's/our\ \$SVN_REV\ \=\ .*\;/our\ \$SVN_REV\ \=\ 42\;/g' cacti/bin/pmp-cacti-template;

tersmitten avatar Nov 27 '20 12:11 tersmitten