mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -15,11 +15,11 @@ get_data (){
|
|||
|
||||
do_stats () {
|
||||
count=1
|
||||
for I in `get_data`; do
|
||||
[ $count = 1 ] && echo "statb.value $I"
|
||||
[ $count = 4 ] && echo "staty.value $I"
|
||||
[ $count = 7 ] && echo "statc.value $I"
|
||||
[ $count = 10 ] && echo "statm.value $I"
|
||||
for I in `get_data`; do
|
||||
[ $count = 1 ] && echo "statb.value $I"
|
||||
[ $count = 4 ] && echo "staty.value $I"
|
||||
[ $count = 7 ] && echo "statc.value $I"
|
||||
[ $count = 10 ] && echo "statm.value $I"
|
||||
count=$(($count + 1))
|
||||
done
|
||||
|
||||
|
@ -29,11 +29,11 @@ case $1 in
|
|||
config)
|
||||
cat <<'EOF'
|
||||
host_name printers
|
||||
graph_title HP 2600 cartridge status
|
||||
graph_title HP 2600 cartridge status
|
||||
graph_vlabel Status (%)
|
||||
graph_category printing
|
||||
graph_info Toner status.
|
||||
graph_args --upper-limit 400 -l 0
|
||||
graph_args --upper-limit 400 -l 0
|
||||
line.label ---
|
||||
line.line 400
|
||||
statb.label Black
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue