Project

General

Profile

« Previous | Next » 

Revision 353908b6

Added by Hamish Coleman almost 17 years ago

  • ID 353908b6f5603d807c176becf4f2aadfa857aa38

Remove the 'host' tree branch and rename the 'test' tree branch to a temp name

View differences:

mrtg.cgi
$hosttype = $1.'*';
}
# TODO - determine a better description for this tree leaf
my $testtreename = 'Gorganzola';
if (defined $hosttype) {
$db->{tree}->{group}->{$group}->{host}->{$hosttype}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{host}->{$hosttype}->{test}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{host}->{$hosttype}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{test}->{$test}->{$hosttype}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{test}->{$test}->{$hosttype}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{$hosttype}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{$hosttype}->{$testtreename}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{$hosttype}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{$testtreename}->{$test}->{$hosttype}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{$testtreename}->{$test}->{$hosttype}->{$host}->{$name} = $sequence;
} else {
$db->{tree}->{group}->{$group}->{host}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{host}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{test}->{$test}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{test}->{$test}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{$host}->{$test}->{$name} = $sequence;
$db->{tree}->{group}->{ALL}->{$testtreename}->{$test}->{$host}->{$name} = $sequence;
$db->{tree}->{group}->{$group}->{$testtreename}->{$test}->{$host}->{$name} = $sequence;
}
}

Also available in: Unified diff