aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorMichael Salmon2015-06-05 14:02:28 +0200
committerMichael Salmon2015-06-05 14:02:28 +0200
commitc5a89e820168820c667466f182356c71e95d1ee7 (patch)
treed552b596fccb22c47ac25b91cfd51e398fa7cac2 /plugin
parenttype/GenericIO: in case of negative_io draw percentile line also on the negat... (diff)
downloadapt-panopticon_cgp-c5a89e820168820c667466f182356c71e95d1ee7.zip
apt-panopticon_cgp-c5a89e820168820c667466f182356c71e95d1ee7.tar.gz
apt-panopticon_cgp-c5a89e820168820c667466f182356c71e95d1ee7.tar.bz2
apt-panopticon_cgp-c5a89e820168820c667466f182356c71e95d1ee7.tar.xz
added percen types to swap and df
Diffstat (limited to 'plugin')
-rw-r--r--plugin/df.json20
-rw-r--r--plugin/swap.json20
2 files changed, 40 insertions, 0 deletions
diff --git a/plugin/df.json b/plugin/df.json
index f066dcd..2570163 100644
--- a/plugin/df.json
+++ b/plugin/df.json
@@ -39,5 +39,25 @@
39 } 39 }
40 }, 40 },
41 "legend_format": "%5.1lf%s" 41 "legend_format": "%5.1lf%s"
42 },
43 "percent_bytes": {
44 "title": "Free space percentage ({{PI}}) on {{HOST}}",
45 "vertical": "Percent",
46 "type": "stacked",
47 "legend": {
48 "reserved": {
49 "name": "Reserved",
50 "color": "aaaaaa"
51 },
52 "free": {
53 "name": "Free",
54 "color": "00ff00"
55 },
56 "used": {
57 "name": "Used",
58 "color": "ff0000"
59 }
60 },
61 "legend_format": "%5.1lf%%"
42 } 62 }
43} 63}
diff --git a/plugin/swap.json b/plugin/swap.json
index c443428..15b2768 100644
--- a/plugin/swap.json
+++ b/plugin/swap.json
@@ -20,6 +20,26 @@
20 "legend_format": "%5.1lf%s", 20 "legend_format": "%5.1lf%s",
21 "base": "1024" 21 "base": "1024"
22 }, 22 },
23 "percent": {
24 "title": "Swap utilization percentage on {{HOST}}",
25 "vertical": "Percentage",
26 "type": "stacked",
27 "legend": {
28 "free": {
29 "name": "Free",
30 "color": "00e000"
31 },
32 "cached": {
33 "name": "Cached",
34 "color": "0000ff"
35 },
36 "used": {
37 "name": "Used",
38 "color": "ff0000"
39 }
40 },
41 "legend_format": "%5.1lf%%"
42 },
23 "swap_io": { 43 "swap_io": {
24 "title": "Swapped I/O pages on {{HOST}}", 44 "title": "Swapped I/O pages on {{HOST}}",
25 "vertical": "Pages", 45 "vertical": "Pages",