mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -50,7 +50,6 @@ $colours_out = 'blues';
|
||||
|
||||
$nototal = 1;
|
||||
|
||||
|
||||
$ds_in = "INOCTETS";
|
||||
$ds_out = "OUTOCTETS";
|
||||
|
||||
|
@@ -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'";
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user