percona / percona-monitoring-plugins

Percona Monitoring Plugins
GNU General Public License v2.0
134 stars 113 forks source link

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

Open chrcoluk opened 5 years ago

chrcoluk commented 5 years ago

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.

tersmitten commented 3 years ago

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

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