diff options
-rw-r--r-- | plugin/df.json | 20 | ||||
-rw-r--r-- | plugin/swap.json | 20 |
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", |