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

Category Tree: Reduce number of categories

This commit is contained in:
dipohl 2017-02-21 15:09:54 +01:00
parent bb64fcbc55
commit 62560fae23
11 changed files with 43 additions and 24 deletions

View file

@ -93,7 +93,6 @@ my $debug=0;
my $timeout=10;
my $max_redirects=10;
my $scriptname="http_load_";
my $category="network"; # The munin graph category
my $useragent="Mozilla/5.0";
# Function to read the $url_file and return the contents in a hash
@ -361,7 +360,7 @@ if($ARGV[0] and $ARGV[0] eq "autoconf") {
print "graph_title $urls{$id} ${type}\n";
print "graph_args -l 0 --base 1000\n";
print "graph_category " . $category . "\n";
print "graph_category webserver\n";
$debug && print "Reading cache file\n";
my $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id,$type);
my %cache=read_cache($cachefile);