mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-12 00:44:43 +00:00
Extract tarballs committed to git as plugins.
This commit is contained in:
parent
2dad4c6f70
commit
038c3ce96b
15 changed files with 352 additions and 0 deletions
16
plugins/other/transmission/tr_ratios
Executable file
16
plugins/other/transmission/tr_ratios
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
user=''
|
||||
pass=''
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title Transmission seed ratios"
|
||||
echo "graph_vlabel Seed ratio %"
|
||||
echo "graph_category Transmission"
|
||||
echo "graph_info This plugin shows your transmission ratios per torrent"
|
||||
transmission-remote -n $user:$pass -l | gawk -f /usr/share/munin/plugins/tr_ratios_labels
|
||||
exit 0
|
||||
fi
|
||||
|
||||
transmission-remote -n $user:$pass -l | gawk -f /usr/share/munin/plugins/tr_ratios_data
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue