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
Review of category processes, system, snmp
This commit is contained in:
parent
4b400a7320
commit
e777037d06
@ -68,7 +68,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
|
||||
print "graph_title Module $module
|
||||
graph_args --base 1000 --lower-limit 0
|
||||
graph_vlabel °C
|
||||
graph_category system
|
||||
graph_category sensors
|
||||
graph_scale no\n";
|
||||
|
||||
my $descr = undef;
|
@ -21,7 +21,7 @@ if [ "$1" = "config" ]; then
|
||||
echo "graph_title VM by Process"
|
||||
echo 'graph_args --base 1024k'
|
||||
echo 'graph_vlabel VM size'
|
||||
echo 'graph_category memory'
|
||||
echo 'graph_category processes'
|
||||
echo "graph_info Shows contribution of each process to VM size"
|
||||
|
||||
ps auxww | perl -e '
|
@ -77,7 +77,7 @@ fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo graph_title Total memory usage
|
||||
echo 'graph_category memory'
|
||||
echo 'graph_category processes'
|
||||
echo 'graph_args --base 1024 --vertical-label memory -l 0'
|
||||
for name in $names; do
|
||||
fieldname=$(clean_fieldname $name)
|
@ -22,7 +22,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_title Memory usage by process'
|
||||
echo 'graph_args --base 1024 -l 0'
|
||||
echo 'graph_vlabel Bytes'
|
||||
echo 'graph_category memory'
|
||||
echo 'graph_category processes'
|
||||
echo 'graph_info This graph shows the memory usage of several processes'
|
||||
|
||||
for proc in $processes; do
|
@ -81,7 +81,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
|
||||
die "Croaking: " . $session->error();
|
||||
}
|
||||
print "graph_title CPU usage\n";
|
||||
print "graph_category system\n";
|
||||
print "graph_category cpu\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_scale no\n";
|
@ -78,7 +78,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
|
||||
die "Croaking: " . $session->error();
|
||||
}
|
||||
print "graph_title RAM usage\n";
|
||||
print "graph_category system\n";
|
||||
print "graph_category memory\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_scale no\n";
|
@ -78,7 +78,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
|
||||
die "Croaking: " . $session->error();
|
||||
}
|
||||
print "graph_title CPU usage\n";
|
||||
print "graph_category system\n";
|
||||
print "graph_category cpu\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_scale no\n";
|
@ -78,7 +78,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
|
||||
die "Croaking: " . $session->error();
|
||||
}
|
||||
print "graph_title RAM usage\n";
|
||||
print "graph_category system\n";
|
||||
print "graph_category memory\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_scale no\n";
|
@ -144,7 +144,7 @@ sub config
|
||||
print "graph_args --base 1024 -l 0 \n";
|
||||
print "graph_vlabel Bytes\n";
|
||||
print "graph_title Swapspace usage\n";
|
||||
print "graph_category system\n";
|
||||
print "graph_category memory\n";
|
||||
print "graph_info This graph shows what the machine uses Swapspace for.\n";
|
||||
print "graph_order ";
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
=head1 NAME
|
||||
|
||||
irq - Plugin to monitor inerrupts.
|
||||
irq - Plugin to monitor interrupts.
|
||||
|
||||
=head1 APPLICABLE SYSTEMS
|
||||
|
||||
|
@ -80,7 +80,7 @@ if (@ARGV and $ARGV[0] eq "config")
|
||||
graph_title Page faults by Process
|
||||
graph_args --base 1000
|
||||
graph_vlabel major page faults
|
||||
graph_category system
|
||||
graph_category processes
|
||||
graph_info Shows number of major page faults caused by each process name
|
||||
END
|
||||
|
||||
|
@ -90,7 +90,7 @@ if (@ARGV and $ARGV[1] == "config")
|
||||
{
|
||||
print <<END;
|
||||
graph_title $fieldname by Process
|
||||
graph_category system
|
||||
graph_category processes
|
||||
graph_info Shows total of $fieldname (reported by ps) for each process name
|
||||
graph_vlabel $fieldname (from ps)
|
||||
END
|
||||
|
@ -82,7 +82,7 @@ fi
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title Transmission seed ratios"
|
||||
echo "graph_vlabel Seed ratio %"
|
||||
echo "graph_category torrent"
|
||||
echo "graph_category filetransfer"
|
||||
echo "graph_info This plugin shows your transmission ratios per torrent"
|
||||
request_transmission_stats | awk '{print $1 ".label " $3 }' | iconv -f utf-8 -t ascii//translit
|
||||
exit 0
|
@ -55,7 +55,7 @@ fi
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "graph_args --base 1000 -r --lower-limit 0"
|
||||
echo "graph_title CPU usage, by user"
|
||||
echo "graph_category system"
|
||||
echo "graph_category cpu"
|
||||
echo "graph_info This graph shows CPU usage, for monitored users."
|
||||
echo "graph_vlabel %"
|
||||
echo "graph_scale no"
|
@ -51,7 +51,7 @@ if ( defined $ARGV[0] and $ARGV[0] eq "config" ) {
|
||||
print "graph_title xbnbt peers\n";
|
||||
print "graph_args --base 1000 -l 0\n";
|
||||
print "graph_vlabel peers\n";
|
||||
print "graph_category torrent\n";
|
||||
print "graph_category filetransfer\n";
|
||||
print "peers.label peers\n";
|
||||
print "seeds.label seeds\n";
|
||||
print "leechers.label leechers\n";
|
||||
|
Loading…
Reference in New Issue
Block a user