mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Category Tree: Reduce number of categories
This commit is contained in:
parent
e2b11e381b
commit
e00b066f2d
9 changed files with 13 additions and 13 deletions
|
@ -28,7 +28,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "graph_title BackupPC - Last Backup Size"
|
||||
echo "graph_args --base 1024 -l 0"
|
||||
echo "graph_vlabel Bytes"
|
||||
echo "graph_category Backuppc"
|
||||
echo "graph_category backup"
|
||||
|
||||
for h in ${HOSTS}
|
||||
do
|
||||
|
@ -40,7 +40,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "graph_title BackupPC - Last Backup Age"
|
||||
echo "graph_args -l 0"
|
||||
echo "graph_vlabel days"
|
||||
echo "graph_category Backuppc"
|
||||
echo "graph_category backup"
|
||||
|
||||
for h in ${HOSTS}
|
||||
do
|
||||
|
@ -57,7 +57,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "graph_title BackupPC - Last Full Backup Age"
|
||||
echo "graph_args -l 0"
|
||||
echo "graph_vlabel days"
|
||||
echo "graph_category Backuppc"
|
||||
echo "graph_category backup"
|
||||
|
||||
for h in ${HOSTS}
|
||||
do
|
||||
|
|
|
@ -118,7 +118,7 @@ def print_config():
|
|||
print "graph_args --base 1024 -l 0"
|
||||
print "graph_scale yes"
|
||||
print "graph_info Bacula Job measurement."
|
||||
print "graph_category Bacula"
|
||||
print "graph_category backup"
|
||||
print "graph_order",
|
||||
for fd in clients:
|
||||
print fd[1],
|
||||
|
|
|
@ -106,7 +106,7 @@ def print_config():
|
|||
print "graph_args --base 1024 -l 0"
|
||||
print "graph_scale yes"
|
||||
print "graph_info Bacula Storage Daemon througput measurement based on written bytes. This may be somewhat inacurate whenever a tape is changed."
|
||||
print "graph_category Bacula"
|
||||
print "graph_category backup"
|
||||
print "graph_order",
|
||||
for dev in devstats:
|
||||
print dev[2],
|
||||
|
|
|
@ -368,7 +368,7 @@ print_config() {
|
|||
fi
|
||||
|
||||
echo "graph_title Accuracy for $uid"
|
||||
echo graph_category dspam
|
||||
echo graph_category spamfilter
|
||||
echo graph_args --base 1000 --upper-limit 100 --rigid
|
||||
echo graph_vlabel Accuracy in %
|
||||
echo "graph_info This graph shows the current DSPAM Overall Accuracy for $uid ($uid_count uids). Overall Accuracy is the percentage of messages that is classified correctly as either ham or spam."
|
||||
|
@ -406,7 +406,7 @@ print_config() {
|
|||
fi
|
||||
|
||||
echo "graph_title Processed messages for $uid (%)"
|
||||
echo graph_category dspam
|
||||
echo graph_category spamfilter
|
||||
echo graph_args --base 1000 --upper-limit 100 --rigid
|
||||
echo graph_vlabel Messages in %
|
||||
echo "graph_info This graph shows the messages that DSPAM processed for $uid ($uid_count uids) in percentages of all processed messages. Messages are divided in the following categories: true positives/negatives, false positives/negatives, and corpusfed ham/spam."
|
||||
|
@ -451,7 +451,7 @@ print_config() {
|
|||
fi
|
||||
|
||||
echo "graph_title Processed messages for $uid"
|
||||
echo graph_category dspam
|
||||
echo graph_category spamfilter
|
||||
echo graph_args --base 1000
|
||||
echo graph_vlabel Messages
|
||||
echo graph_total Total
|
||||
|
|
|
@ -169,7 +169,7 @@ print_config() {
|
|||
debug printing config
|
||||
|
||||
echo "graph_title DSPAM activity"
|
||||
echo graph_category dspam
|
||||
echo graph_category spamfilter
|
||||
echo graph_args --base 1000
|
||||
echo graph_vlabel Messages / \${graph_period}
|
||||
echo graph_period minute
|
||||
|
|
|
@ -40,7 +40,7 @@ case $1 in
|
|||
graph_title BCM2835 core temperature
|
||||
graph_vlabel temp in C
|
||||
graph_args --base 1000 -l 0
|
||||
graph_category Temperature
|
||||
graph_category sensors
|
||||
temp.label Temperature
|
||||
temp.warning 60
|
||||
temp.critical 85
|
||||
|
|
|
@ -66,7 +66,7 @@ if ( $ARGV[0] eq "config" ) {
|
|||
|
||||
# The headers
|
||||
print "graph_title S3 Items\n";
|
||||
print "graph_category s3\n";
|
||||
print "graph_category cloud\n";
|
||||
print "graph_vlabel items\n";
|
||||
print 'graph_info Plugin available at <a href="http://www.ohardt.com/dev/munin/">http://www.ohardt.com/dev/munin/</a>' . "\n";
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
|
|||
{
|
||||
# The headers
|
||||
print "graph_title S3 Storage Usage\n";
|
||||
print "graph_category s3\n";
|
||||
print "graph_category cloud\n";
|
||||
print "graph_args --base 1024 -l 0\n";
|
||||
print "graph_vlabel bytes\n";
|
||||
print "graph_info Plugin available at <a href='https://github.com/aptivate/munin-contrib/blob/master/plugins/s3/s3_storage'>https://github.com/aptivate/munin-contrib/blob/master/plugins/s3/s3_storage</a>\n";
|
||||
|
|
|
@ -155,7 +155,7 @@ if ((@ARGV > 0) && ($ARGV[0] eq "config")) {
|
|||
print("graph_args --lower-limit 0\n");
|
||||
print("graph_vlabel Ampere\n");
|
||||
}
|
||||
print("graph_category envsensors\n");
|
||||
print("graph_category sensors\n");
|
||||
print("host_name $hostname\n");
|
||||
}
|
||||
my $sensordata = XMLin($sensorxml, KeyAttr => { }, ForceArray => [ 'data' ] );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue