1 |
brianr |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90monitor10mysql mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90monitor10mysql |
2 |
|
|
--- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90monitor10mysql 2009-02-04 13:22:37.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90monitor10mysql 1970-01-01 01:00:00.000000000 +0100 |
4 |
|
|
@@ -1,14 +0,0 @@ |
5 |
|
|
-####### USER-DEFINED MONITORED PARAMETERS ####### |
6 |
|
|
-# Format: UserParameter=<key>,<shell command> |
7 |
|
|
-# Note that shell command must not return empty string or EOL only |
8 |
|
|
-#UserParameter=system.test,who|wc -l |
9 |
|
|
-### Set of parameter for monitoring MySQL server (v3.23.42 and later) |
10 |
|
|
-### Change -u<username> and add -p<password> if required |
11 |
|
|
-#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l |
12 |
|
|
-#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T" |
13 |
|
|
-#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q" |
14 |
|
|
-#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" |
15 |
|
|
-#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O" |
16 |
|
|
-#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":" |
17 |
|
|
-#UserParameter=mysql.version,mysql -V |
18 |
|
|
- |
19 |
|
|
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql |
20 |
|
|
--- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql 1970-01-01 01:00:00.000000000 +0100 |
21 |
|
|
+++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_mysql 2009-02-04 13:22:37.000000000 +0100 |
22 |
|
|
@@ -0,0 +1,14 @@ |
23 |
|
|
+####### USER-DEFINED MONITORED PARAMETERS ####### |
24 |
|
|
+# Format: UserParameter=<key>,<shell command> |
25 |
|
|
+# Note that shell command must not return empty string or EOL only |
26 |
|
|
+#UserParameter=system.test,who|wc -l |
27 |
|
|
+### Set of parameter for monitoring MySQL server (v3.23.42 and later) |
28 |
|
|
+### Change -u<username> and add -p<password> if required |
29 |
|
|
+#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l |
30 |
|
|
+#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T" |
31 |
|
|
+#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q" |
32 |
|
|
+#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" |
33 |
|
|
+#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O" |
34 |
|
|
+#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":" |
35 |
|
|
+#UserParameter=mysql.version,mysql -V |
36 |
|
|
+ |