From 7c0ba6a675cbca3a6fa1a0b79a37259ad4b52aee Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Mon, 8 Feb 2016 01:22:58 +0200 Subject: added a new element on all charts: context, which is the template upon the chart is build, changed the meaning of element: family, which now reflects the submenu of the dashboard; changed the priorities of most charts to allow the dashboard have dynamic sorting; added submenus to most categories of the main menu; now the dashboard is completely dynamic (except the top key charts) --- charts.d/mysql.chart.sh | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) (limited to 'charts.d/mysql.chart.sh') diff --git a/charts.d/mysql.chart.sh b/charts.d/mysql.chart.sh index 8d0ac228fc..2839052898 100755 --- a/charts.d/mysql.chart.sh +++ b/charts.d/mysql.chart.sh @@ -8,6 +8,7 @@ # It requires only the ability to connect to the server. mysql_update_every=5 +mysql_priority=60000 declare -A mysql_cmds=() mysql_opts=() mysql_ids=() @@ -163,16 +164,16 @@ mysql_create() { for m in "${mysql_ids[@]}" do cat <