mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Overhaul use of rrdtool_lastupdate & STACK for rrdtool 1.4/1.5 compatibility
This commit is contained in:
@@ -14,12 +14,12 @@ $rrd_options .= ' CDEF:b=5min,100,/';
|
||||
$rrd_options .= ' CDEF:c=15min,100,/';
|
||||
$rrd_options .= ' CDEF:cdefd=a,b,c,+,+';
|
||||
$rrd_options .= " COMMENT:'Load Average Current Average Maximum\\n'";
|
||||
$rrd_options .= " AREA:a#ffeeaa:'1 Min':";
|
||||
$rrd_options .= " AREA:a#ffeeaa:'1 Min'";
|
||||
$rrd_options .= ' LINE1:a#c5aa00:';
|
||||
$rrd_options .= " GPRINT:a:LAST:' %7.2lf'";
|
||||
$rrd_options .= " GPRINT:a:AVERAGE:' %7.2lf'";
|
||||
$rrd_options .= " GPRINT:a:MAX:' %7.2lf\\n'";
|
||||
$rrd_options .= " LINE1.25:b#ea8f00:'5 Min':";
|
||||
$rrd_options .= " LINE1.25:b#ea8f00:'5 Min'";
|
||||
$rrd_options .= " GPRINT:b:LAST:' %7.2lf'";
|
||||
$rrd_options .= " GPRINT:b:AVERAGE:' %7.2lf'";
|
||||
$rrd_options .= " GPRINT:b:MAX:' %7.2lf\\n'";
|
||||
|
||||
Reference in New Issue
Block a user