diff --git a/pelab/bgmon/manager.pl b/pelab/bgmon/manager.pl index 86cfbd47d259f55a81fd00f650b7c52c9a91f677..b4e355389b45db6bae5cbdba786a31bc337bfd41 100644 --- a/pelab/bgmon/manager.pl +++ b/pelab/bgmon/manager.pl @@ -29,6 +29,7 @@ my $debug = 0; my $impotent = 0; my $evexpt = "__none"; my $bgmonexpt; +my $default_bgmonexpt = "tbres/pelabbgmon"; my ($server,$port,$cmdport); my %opt = (); if (!getopts("s:p:c:dih", \%opt)) { @@ -38,6 +39,8 @@ if (!getopts("s:p:c:dih", \%opt)) { # # Caps enforced on users and globally. Totally made-up. # Rates are in kilobytes / second, data transfer sizes are in kilobytes +# XXX: I think I have a constant wrong here somewhere, these limts should +# not have to be this high # my $USER_AVGRATE_CAP = 10 * 1024 / 8.0; # 10Mbps my $USER_DAILY_CAP = 1000 * 1024 * 1024 / 8.0; # 100Gbit