diff --git a/plugins/rtorrent/rtom_spdd b/plugins/rtorrent/rtom_spdd index ac1254b0..26f79c26 100755 --- a/plugins/rtorrent/rtom_spdd +++ b/plugins/rtorrent/rtom_spdd @@ -37,7 +37,7 @@ # socket rTorrent's rpc socket (scgi_local) - using scgi_local - needed, when "src" is set to "socket" # ip rTorrent's ip address - using scgi_port - needed, when "src" is NOT set to "socket" # port rTorrent's scgi port (scgi_port) - using scgi_port - needed, when "src" is NOT set to "socket" -# +# category Change graph category # diff "yes" for using bps for upload and Bps for download, or anything else for using Bps for both # # @@ -47,6 +47,7 @@ # user username # env.src socket # env.socket /home/user/torrent/.socket/rpc.socket +# env.category Sometext # # [rtom_spdd] # env.ip 127.0.0.1 @@ -62,12 +63,12 @@ if ( $ARGV[0] and $ARGV[0] eq "autoconf" ) { if ( $ARGV[0] and $ARGV[0] eq "config" ) { my $diff = $ENV{"diff"} || ""; - + my $category = $ENV{"category"} || ""; print "graph_order down up\n"; print "graph_title rTorrent speeds\n"; print "graph_args --base 1024\n"; print "graph_vlabel Bytes per \${graph_period}\n"; - print "graph_category rTorrent\n"; + print "graph_category rTorrent ".${category}."\n"; print "down.label Download B/s\n"; print "down.info Download speed in Bytes per seconds\n"; print "down.type DERIVE\n";