mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
smokeping fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@2629 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -26,10 +26,9 @@ if($width > "500")
|
||||
|
||||
if($width > "500")
|
||||
{
|
||||
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." RTT Loss Maximum '";
|
||||
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." RTT Loss SDev RTT\:SDev\l'";
|
||||
} else {
|
||||
$rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)." RTT Loss SDev RTT\:SDev\l'";
|
||||
|
||||
}
|
||||
|
||||
foreach($smokeping_files[$direction][$device['hostname']] as $source => $filename)
|
||||
@@ -73,7 +72,7 @@ foreach($smokeping_files[$direction][$device['hostname']] as $source => $filenam
|
||||
$rrd_options .= " CDEF:s2d$i=sdev$i";
|
||||
$rrd_options .= " AREA:dmlow$i";
|
||||
$rrd_options .= " AREA:s2d$i#".$colour."30::STACK";
|
||||
$rrd_options .= " LINE1:dm$i#".$colour.":$descr";
|
||||
$rrd_options .= " LINE1:dm$i#".$colour.":'$descr'";
|
||||
|
||||
# $rrd_options .= " LINE1:sdev$i#000000:$descr";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user