fixes. enable whitelisting for bgp alerts (temporary fix)

git-svn-id: http://www.observium.org/svn/observer/trunk@2553 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-23 10:33:58 +00:00
parent 20930e7702
commit 5b526e1f84
5 changed files with 7 additions and 12 deletions

View File

@@ -50,7 +50,6 @@ $colours_out = 'blues';
$nototal = 1;
$ds_in = "INOCTETS";
$ds_out = "OUTOCTETS";

View File

@@ -12,15 +12,14 @@ if($width > "500")
}
$unit_text = "Bits/sec";
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."'";
if($width > "500")
{
$rrd_options .= " COMMENT:' Current Average Maximum '";
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." Current Average Maximum '";
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
$rrd_options .= " COMMENT:'\l'";
} else {
$rrd_options .= " COMMENT:' Now Ave Max\l'";
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." Now Ave Max\l'";
}