mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add missing icon and ipsec flowstats graph changes
git-svn-id: http://www.observium.org/svn/observer/trunk@1819 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
BIN
html/images/icons/arrow_updown.png
Executable file
BIN
html/images/icons/arrow_updown.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 764 B |
@@ -13,7 +13,7 @@ $i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = "OutAuths";
|
||||
$rrd_list[$i]['rra'] = "OutAuths";
|
||||
$rra_list[$i]['invert'] = 1;
|
||||
$rra_list[$i]['invert'] = "1";
|
||||
|
||||
$i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
@@ -23,7 +23,7 @@ $i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = "OutEncrypts";
|
||||
$rrd_list[$i]['rra'] = "OutEncrypts";
|
||||
$rra_list[$i]['invert'] = 1;
|
||||
$rra_list[$i]['invert'] = "1";
|
||||
|
||||
$i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
@@ -37,7 +37,7 @@ $i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = "OutDrops";
|
||||
$rrd_list[$i]['rra'] = "OutDrops";
|
||||
$rra_list[$i]['invert'] = 1;
|
||||
$rra_list[$i]['invert'] = "1";
|
||||
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ $i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = "OutAuthFail";
|
||||
$rrd_list[$i]['rra'] = "OutAuthFails";
|
||||
$rra_list[$i]['invert'] = 1;
|
||||
$rra_list[$i]['invert'] = "1";
|
||||
|
||||
$i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
@@ -59,7 +59,7 @@ $i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = "OutEncryptFails";
|
||||
$rrd_list[$i]['rra'] = "OutEncryptFails";
|
||||
$rra_list[$i]['invert'] = 1;
|
||||
$rra_list[$i]['invert'] = "1";
|
||||
|
||||
$i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
@@ -27,7 +27,13 @@
|
||||
$rrd_options .= " DEF:".$id."=$filename:$rra:AVERAGE";
|
||||
$rrd_options .= " DEF:".$id."min=$filename:$rra:MIN";
|
||||
$rrd_options .= " DEF:".$id."max=$filename:$rra:MAX";
|
||||
$rrd_options .= " LINE1.25:".$id."#".$colour.":'$descr'";
|
||||
if($rrd['invert'] == "1") {
|
||||
$rrd_options .= " CDEF:".$id."graph=".$id.",-1,*";
|
||||
$rrd_options .= " LINE1.25:".$id."graph#".$colour.":'$descr'";
|
||||
} else {
|
||||
$rrd_options .= " LINE1.25:".$id."#".$colour.":'$descr'";
|
||||
}
|
||||
|
||||
$rrd_options .= " GPRINT:".$id.":LAST:%5.2lf%s GPRINT:".$id."min:MIN:%5.2lf%s";
|
||||
$rrd_options .= " GPRINT:".$id."max:MAX:%5.2lf%s GPRINT:".$id.":AVERAGE:%5.2lf%s\\\\n";
|
||||
|
||||
|
Reference in New Issue
Block a user