mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
pretty up frequency/current/fanspeed graphs, add Dell multifunction laserprinter detection (PRINTERS, WE LOVE THEM)
git-svn-id: http://www.observium.org/svn/observer/trunk@1236 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -15,7 +15,6 @@ include("common.inc.php");
|
||||
$rrd_filename = $config['rrd_dir'] . "/".$hostname."/" . safename("fan-" . $fanspeed['fan_descr'] . ".rrd");
|
||||
|
||||
$rrd_options .= " DEF:fan=$rrd_filename:fan:AVERAGE";
|
||||
$rrd_options .= " AREA:fan#FFFF99";
|
||||
$rrd_options .= " LINE1.5:fan#cc0000:'" . str_replace(':','\:',str_replace('\*','*',quotemeta($fanspeed['fan_descr_fixed'])))."'"; # Ugly hack :(
|
||||
$rrd_options .= " GPRINT:fan:LAST:%3.0lfrpm";
|
||||
$rrd_options .= " GPRINT:fan:MAX:%3.0lfrpm\\\\l";
|
||||
|
||||
Reference in New Issue
Block a user