mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
cleanups to how graphing works. start using device= for device graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@3167 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_mem.rrd";
|
||||
|
||||
$rrd_options .= " '-b 1024'";
|
||||
@@ -38,7 +36,6 @@ $rrd_options .= " 'CDEF:shared_perc=shared,totalreal,/,100,*'";
|
||||
$rrd_options .= " 'CDEF:buffered_perc=buffered,totalreal,/,100,*'";
|
||||
$rrd_options .= " 'CDEF:cached_perc=cached,totalreal,/,100,*'";
|
||||
|
||||
|
||||
$rrd_options .= " 'CDEF:cusedswap=usedswap,-1,*'";
|
||||
$rrd_options .= " 'CDEF:cdeftot=availreal,shared,buffered,usedreal,cached,usedswap,+,+,+,+,+'";
|
||||
$rrd_options .= " 'COMMENT:Bytes Current Average Maximum\\n'";
|
||||
|
||||
Reference in New Issue
Block a user