mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
correct units on fan and voltage graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@821 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -21,7 +21,7 @@ include("common.inc.php");
|
||||
$rrd_options .= " AREA:fanwarm#FF9999";
|
||||
$rrd_options .= " LINE1.5:fan#cc0000:'" . str_replace(':','\:',str_replace('\*','*',quotemeta($fanspeed['fan_descr_fixed'])))."'"; # Ugly hack :(
|
||||
$rrd_options .= " LINE1.5:fanwarm#660000";
|
||||
$rrd_options .= " GPRINT:fan:LAST:%3.0lfC";
|
||||
$rrd_options .= " GPRINT:fan:MAX:%3.0lfC\\\\l";
|
||||
$rrd_options .= " GPRINT:fan:LAST:%3.0lfrpm";
|
||||
$rrd_options .= " GPRINT:fan:MAX:%3.0lfrpm\\\\l";
|
||||
|
||||
?>
|
||||
|
@@ -21,7 +21,7 @@ include("common.inc.php");
|
||||
$rrd_options .= " AREA:voltwarm#FF9999";
|
||||
$rrd_options .= " LINE1.5:volt#cc0000:'" . $voltage['volt_descr_fixed']."'";
|
||||
$rrd_options .= " LINE1.5:voltwarm#660000";
|
||||
$rrd_options .= " GPRINT:volt:LAST:%3.0lfC";
|
||||
$rrd_options .= " GPRINT:volt:MAX:%3.0lfC\\\\l";
|
||||
$rrd_options .= " GPRINT:volt:LAST:%3.0lfV";
|
||||
$rrd_options .= " GPRINT:volt:MAX:%3.0lfV\\\\l";
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user