1 |
--- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql.mysql_size_fixe 2009-03-18 13:05:31.000000000 +0100 |
2 |
+++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql 2009-03-18 13:06:59.000000000 +0100 |
3 |
@@ -6,5 +6,5 @@ |
4 |
UserParameter=mysql.slowqueries,/var/lib/zabbix/bin/mysqladmin_status | cut -d" " -f12 |
5 |
UserParameter=mysql.qps,/var/lib/zabbix/bin/mysqladmin_status | cut -d" " -f29 |
6 |
UserParameter=mysql.qps,/var/lib/zabbix/bin/mysqladmin_status | cut -d" " -f29 |
7 |
-UserParameter=mysql.size,/usr/bin/sudo /usr/bin/du -s /var/lib/mysql | awk '\{print $1\}' |
8 |
+UserParameter=mysql.size,/usr/bin/sudo -u mysql /usr/bin/du -s /var/lib/mysql | awk '\{print $1\}' |
9 |
|