Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/syncthing/syncthing_ | ||
|---|---|---|
| 11 | 11 |
This plugin requires the cURL utility : https://curl.haxx.se/ |
| 12 | 12 |
|
| 13 | 13 |
Available plugins : |
| 14 |
syncthing_cpu #
|
|
| 14 |
syncthing_cpu # |
|
| 15 | 15 |
syncthing_mem # |
| 16 | 16 |
syncthing_goroutine # |
| 17 | 17 |
syncthing_transfer # |
| 18 | 18 |
syncthing_uptime # |
| 19 | 19 |
|
| 20 | 20 |
=head1 CONFIGURATION |
| 21 |
To make the plugin connect to the Syncthing server one has to use this type of
|
|
| 21 |
To make the plugin connect to the Syncthing server one has to use this type of |
|
| 22 | 22 |
configuration |
| 23 | 23 |
[syncthing_*] |
| 24 | 24 |
|
| ... | ... | |
| 109 | 109 |
graph_title Syncthing server go routines |
| 110 | 110 |
graph_vlabel number of go routines |
| 111 | 111 |
graph_category network |
| 112 |
syncthing_goroutine.label routines
|
|
| 112 |
syncthing_goroutine.label routines |
|
| 113 | 113 |
EOM |
| 114 | 114 |
exit 0;; |
| 115 | 115 |
*) |
| ... | ... | |
| 152 | 152 |
CURL=$(which curl) |
| 153 | 153 |
JQ=$(which jq) |
| 154 | 154 |
|
| 155 |
case $(basename "$0") in
|
|
| 155 |
case $(basename "$0") in |
|
| 156 | 156 |
syncthing_cpu) |
| 157 | 157 |
cpu "$1" |
| 158 | 158 |
exit 0;; |
Formats disponibles : Unified diff