mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Some more small tweaks to get everything together
This commit is contained in:
@@ -8,6 +8,8 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'bps Now Ave Max \\n'";
|
||||
$rrd_options .= " DEF:rfInOctets=".$rrdfilename.":rfInOctets:AVERAGE ";
|
||||
$rrd_options .= " DEF:rfOutOctets=".$rrdfilename.":rfOutOctets:AVERAGE ";
|
||||
//$rrd_options .= " CDEF:inoctets=rfInOctets,8,*";
|
||||
//$rrd_options .= " CDEF:outoctets=rfOutOctets,8,*";
|
||||
$rrd_options .= " LINE1:rfInOctets#00FF00:'In ' ";
|
||||
$rrd_options .= " GPRINT:rfInOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInOctets:MIN:%0.2lf%s ";
|
||||
|
||||
@@ -18,11 +18,11 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " GPRINT:rfInErroredOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInErroredOctets:MIN:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInErroredOctets:MAX:%0.2lf%s\\\l ";
|
||||
$rrd_options .= " LINE1:rfInIdleOctets#0022FF:'Lost Octets ' ";
|
||||
$rrd_options .= " LINE1:rfInIdleOctets#0022FF:'In Idle Octets ' ";
|
||||
$rrd_options .= " GPRINT:rfInIdleOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInIdleOctets:MIN:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInIdleOctets:MAX:%0.2lf%s\\\l ";
|
||||
$rrd_options .= " LINE1:rfOutIdleOctets#DD9CFB:'Lost Octets ' ";
|
||||
$rrd_options .= " LINE1:rfOutIdleOctets#DD9CFB:'Out Idle Octets ' ";
|
||||
$rrd_options .= " GPRINT:rfOutIdleOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfOutIdleOctets:MIN:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfOutIdleOctets:MAX:%0.2lf%s\\\l ";
|
||||
|
||||
Reference in New Issue
Block a user