1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-11 08:24:51 +00:00

move Transmission ratios plugin to network directory

Alongside the existing Transmission plugin.
This commit is contained in:
Kenyon Ralph 2013-03-03 16:22:38 -08:00
parent 5f0fd4e5c3
commit 85721e6446
3 changed files with 0 additions and 0 deletions

View 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