mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin-Gallery: Get better 2nd level headings
amule -> filetransfer (amule) torrent -> filetransfer (rtorrent)
This commit is contained in:
parent
95de964ec9
commit
4b400a7320
@ -47,7 +47,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
||||||
echo 'graph_args -l 0 --base 1000'
|
echo 'graph_args -l 0 --base 1000'
|
||||||
echo 'graph_vlabel no of clients'
|
echo 'graph_vlabel no of clients'
|
||||||
echo 'graph_category amule'
|
echo 'graph_category filetransfer'
|
||||||
echo 'queue.label download clients'
|
echo 'queue.label download clients'
|
||||||
exit 0
|
exit 0
|
||||||
fi;
|
fi;
|
||||||
|
@ -47,7 +47,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
||||||
echo 'graph_args -l 0 --base 1000'
|
echo 'graph_args -l 0 --base 1000'
|
||||||
echo 'graph_vlabel no of shares'
|
echo 'graph_vlabel no of shares'
|
||||||
echo 'graph_category amule'
|
echo 'graph_category filetransfer'
|
||||||
echo 'shares.label shared files'
|
echo 'shares.label shared files'
|
||||||
echo 'shares.draw AREA'
|
echo 'shares.draw AREA'
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -53,7 +53,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'upload.max 50000'
|
echo 'upload.max 50000'
|
||||||
echo 'upload.min 0'
|
echo 'upload.min 0'
|
||||||
echo 'graph_vlabel bytes per ${graph_period}'
|
echo 'graph_vlabel bytes per ${graph_period}'
|
||||||
echo 'graph_category amule'
|
echo 'graph_category filetransfer'
|
||||||
echo 'upload.label upload speed'
|
echo 'upload.label upload speed'
|
||||||
echo 'download.label download speed'
|
echo 'download.label download speed'
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -47,7 +47,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
echo 'graph_info Plugin available at <a href="http://linux.andreagozzi.com/content/munin_stuff.php">http://linux.andreagozzi.com/content/munin_stuff.php</a>'
|
||||||
echo 'graph_args -l 0 --base 1000'
|
echo 'graph_args -l 0 --base 1000'
|
||||||
echo 'graph_vlabel uptime in hours'
|
echo 'graph_vlabel uptime in hours'
|
||||||
echo 'graph_category amule'
|
echo 'graph_category filetransfer'
|
||||||
echo 'uptime.label uptime'
|
echo 'uptime.label uptime'
|
||||||
echo 'uptime.draw AREA'
|
echo 'uptime.draw AREA'
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -64,7 +64,7 @@ if [ "$1" = "config" ] ; then
|
|||||||
graph_title DebSecan : vulnerabilities for ${SUITE}
|
graph_title DebSecan : vulnerabilities for ${SUITE}
|
||||||
graph_args -l 0 --base 1000
|
graph_args -l 0 --base 1000
|
||||||
graph_vlabel number of CVE
|
graph_vlabel number of CVE
|
||||||
graph_category system
|
graph_category security
|
||||||
graph_period second
|
graph_period second
|
||||||
graph_info This graph show the number of known vulnerabilities present on your system. Use debsecan to see details.
|
graph_info This graph show the number of known vulnerabilities present on your system. Use debsecan to see details.
|
||||||
remote.label remote
|
remote.label remote
|
@ -21,7 +21,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo "graph_title VM by Process"
|
echo "graph_title VM by Process"
|
||||||
echo 'graph_args --base 1024k'
|
echo 'graph_args --base 1024k'
|
||||||
echo 'graph_vlabel VM size'
|
echo 'graph_vlabel VM size'
|
||||||
echo 'graph_category system'
|
echo 'graph_category memory'
|
||||||
echo "graph_info Shows contribution of each process to VM size"
|
echo "graph_info Shows contribution of each process to VM size"
|
||||||
|
|
||||||
ps auxww | perl -e '
|
ps auxww | perl -e '
|
@ -77,7 +77,7 @@ fi
|
|||||||
|
|
||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
echo graph_title Total memory usage
|
echo graph_title Total memory usage
|
||||||
echo 'graph_category processes'
|
echo 'graph_category memory'
|
||||||
echo 'graph_args --base 1024 --vertical-label memory -l 0'
|
echo 'graph_args --base 1024 --vertical-label memory -l 0'
|
||||||
for name in $names; do
|
for name in $names; do
|
||||||
fieldname=$(clean_fieldname $name)
|
fieldname=$(clean_fieldname $name)
|
||||||
|
@ -22,7 +22,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_title Memory usage by process'
|
echo 'graph_title Memory usage by process'
|
||||||
echo 'graph_args --base 1024 -l 0'
|
echo 'graph_args --base 1024 -l 0'
|
||||||
echo 'graph_vlabel Bytes'
|
echo 'graph_vlabel Bytes'
|
||||||
echo 'graph_category processes'
|
echo 'graph_category memory'
|
||||||
echo 'graph_info This graph shows the memory usage of several processes'
|
echo 'graph_info This graph shows the memory usage of several processes'
|
||||||
|
|
||||||
for proc in $processes; do
|
for proc in $processes; do
|
||||||
|
@ -37,7 +37,7 @@ if [ "$1" = config ]; then
|
|||||||
graph_title Memory usage by process by user
|
graph_title Memory usage by process by user
|
||||||
graph_args --base 1024 -l 0
|
graph_args --base 1024 -l 0
|
||||||
graph_vlabel Bytes
|
graph_vlabel Bytes
|
||||||
graph_category processes
|
graph_category memory
|
||||||
graph_info This graph shows the memory usage of several processes of one user
|
graph_info This graph shows the memory usage of several processes of one user
|
||||||
graph_order $(echo "$users"|sed 's/\broot\b/__root/g')
|
graph_order $(echo "$users"|sed 's/\broot\b/__root/g')
|
||||||
EOF
|
EOF
|
||||||
|
@ -53,7 +53,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent memory usage\n";
|
print "graph_title rTorrent memory usage\n";
|
||||||
print "graph_args --base 1024 --lower-limit 0\n";
|
print "graph_args --base 1024 --lower-limit 0\n";
|
||||||
print "graph_vlabel Bytes\n";
|
print "graph_vlabel Bytes\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "mem.label Memory usage\n";
|
print "mem.label Memory usage\n";
|
||||||
print "mem.info Memory usage of rTorrent\n";
|
print "mem.info Memory usage of rTorrent\n";
|
||||||
print "mem.type GAUGE\n";
|
print "mem.type GAUGE\n";
|
||||||
|
@ -51,7 +51,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent peer statistics\n";
|
print "graph_title rTorrent peer statistics\n";
|
||||||
print "graph_args --base 1000 --lower-limit 0\n";
|
print "graph_args --base 1000 --lower-limit 0\n";
|
||||||
print "graph_vlabel peers\n";
|
print "graph_vlabel peers\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "outgoing.label outgoing\n";
|
print "outgoing.label outgoing\n";
|
||||||
print "outgoing.draw AREA\n";
|
print "outgoing.draw AREA\n";
|
||||||
print "outgoing.info number of outgoing connections\n";
|
print "outgoing.info number of outgoing connections\n";
|
||||||
|
@ -65,7 +65,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent speeds\n";
|
print "graph_title rTorrent speeds\n";
|
||||||
print "graph_args --base 1024\n";
|
print "graph_args --base 1024\n";
|
||||||
print "graph_vlabel Bytes per \${graph_period}\n";
|
print "graph_vlabel Bytes per \${graph_period}\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "down.label Download B/s\n";
|
print "down.label Download B/s\n";
|
||||||
print "down.info Download speed in Bytes per seconds\n";
|
print "down.info Download speed in Bytes per seconds\n";
|
||||||
print "down.type DERIVE\n";
|
print "down.type DERIVE\n";
|
||||||
|
@ -52,7 +52,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_args --base 1000 -r --lower-limit 0\n";
|
print "graph_args --base 1000 -r --lower-limit 0\n";
|
||||||
print "graph_title rTorrent volume\n";
|
print "graph_title rTorrent volume\n";
|
||||||
print "graph_vlabel active torrents\n";
|
print "graph_vlabel active torrents\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "complete.label complete\n";
|
print "complete.label complete\n";
|
||||||
print "complete.draw AREA\n";
|
print "complete.draw AREA\n";
|
||||||
print "complete.info complete torrents\n";
|
print "complete.info complete torrents\n";
|
||||||
|
@ -53,7 +53,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent memory usage\n";
|
print "graph_title rTorrent memory usage\n";
|
||||||
print "graph_args --base 1024 --lower-limit 0\n";
|
print "graph_args --base 1024 --lower-limit 0\n";
|
||||||
print "graph_vlabel Bytes\n";
|
print "graph_vlabel Bytes\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "mem.label Memory usage\n";
|
print "mem.label Memory usage\n";
|
||||||
print "mem.info Memory osage of rTorrent\n";
|
print "mem.info Memory osage of rTorrent\n";
|
||||||
print "mem.type GAUGE\n";
|
print "mem.type GAUGE\n";
|
||||||
|
@ -53,7 +53,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent peer statistics\n";
|
print "graph_title rTorrent peer statistics\n";
|
||||||
print "graph_args --base 1000 --lower-limit 0\n";
|
print "graph_args --base 1000 --lower-limit 0\n";
|
||||||
print "graph_vlabel peers\n";
|
print "graph_vlabel peers\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "outgoing.label outgoing\n";
|
print "outgoing.label outgoing\n";
|
||||||
print "outgoing.draw AREA\n";
|
print "outgoing.draw AREA\n";
|
||||||
print "outgoing.info number of outgoing connections\n";
|
print "outgoing.info number of outgoing connections\n";
|
||||||
|
@ -68,7 +68,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_title rTorrent speeds\n";
|
print "graph_title rTorrent speeds\n";
|
||||||
print "graph_args --base 1024\n";
|
print "graph_args --base 1024\n";
|
||||||
print "graph_vlabel Bytes per \${graph_period}\n";
|
print "graph_vlabel Bytes per \${graph_period}\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "down.label Download B/s\n";
|
print "down.label Download B/s\n";
|
||||||
print "down.info Download speed in Bytes per seconds\n";
|
print "down.info Download speed in Bytes per seconds\n";
|
||||||
print "down.type DERIVE\n";
|
print "down.type DERIVE\n";
|
||||||
|
@ -54,7 +54,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
print "graph_args --base 1000 -r --lower-limit 0\n";
|
print "graph_args --base 1000 -r --lower-limit 0\n";
|
||||||
print "graph_title rTorrent volume\n";
|
print "graph_title rTorrent volume\n";
|
||||||
print "graph_vlabel active torrents\n";
|
print "graph_vlabel active torrents\n";
|
||||||
print "graph_category torrent ".${category}."\n";
|
print "graph_category filetransfer".${category}."\n";
|
||||||
print "complete.label complete\n";
|
print "complete.label complete\n";
|
||||||
print "complete.draw AREA\n";
|
print "complete.draw AREA\n";
|
||||||
print "complete.info complete torrents\n";
|
print "complete.info complete torrents\n";
|
||||||
|
@ -68,7 +68,7 @@ case $1 in
|
|||||||
graph_title Fresh (<=${LIFETIME}d) backups archives in ${BACKUP_DIR}
|
graph_title Fresh (<=${LIFETIME}d) backups archives in ${BACKUP_DIR}
|
||||||
graph_vlabel number
|
graph_vlabel number
|
||||||
graph_args -l 0
|
graph_args -l 0
|
||||||
graph_category system
|
graph_category backup
|
||||||
freshcount.label number
|
freshcount.label number
|
||||||
freshcount.critical ${CRIT}:
|
freshcount.critical ${CRIT}:
|
||||||
freshcount.warning ${WARN}:
|
freshcount.warning ${WARN}:
|
@ -19,7 +19,7 @@ fi
|
|||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
echo "graph_args --base 1000 -r --lower-limit 0"
|
echo "graph_args --base 1000 -r --lower-limit 0"
|
||||||
echo "graph_title Memory usage, by user"
|
echo "graph_title Memory usage, by user"
|
||||||
echo "graph_category system"
|
echo "graph_category memory"
|
||||||
echo "graph_info This graph shows memory usage, for monitored users."
|
echo "graph_info This graph shows memory usage, for monitored users."
|
||||||
echo "graph_vlabel KB"
|
echo "graph_vlabel KB"
|
||||||
echo "graph_scale no"
|
echo "graph_scale no"
|
||||||
|
Loading…
Reference in New Issue
Block a user