Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/power/nut | ||
|---|---|---|
| 41 | 41 |
charge=$(upsc $UPS | grep battery.charge: | cut -d" " -f2) |
| 42 | 42 |
} |
| 43 | 43 |
|
| 44 |
# Munin routines
|
|
| 44 |
# Munin routines |
|
| 45 | 45 |
case "$1" in |
| 46 | 46 |
autoconf) |
| 47 | 47 |
grep ^MONITOR < /etc/nut/upsmon.conf &> /dev/null |
| ... | ... | |
| 78 | 78 |
grep ^MONITOR < /etc/nut/upsmon.conf | cut -d" " -f2 | sed 's|@|_AT_|g' |
| 79 | 79 |
exit 0 |
| 80 | 80 |
;; |
| 81 |
*)
|
|
| 82 |
|
|
| 81 |
*) |
|
| 82 |
|
|
| 83 | 83 |
FETCH_DATA |
| 84 | 84 |
# Print data for Munin |
| 85 | 85 |
cat << EOM |
Formats disponibles : Unified diff