mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
CISCO-REMOTE-ACCESS-MONITOR-MIB polling (no graphign yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1555 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$scale_min = "25";
|
||||
$scale_max = "40";
|
||||
$scale_min = "0";
|
||||
$scale_max = "60";
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
@@ -15,7 +15,6 @@ include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/temp-" . safename($sensor['sensor_type']."-".$sensor['sensor_index']) . ".rrd";
|
||||
|
||||
|
||||
$rrd_options .= " DEF:temp=$rrd_filename:temp:AVERAGE";
|
||||
$rrd_options .= " DEF:temp_max=$rrd_filename:temp:MAX";
|
||||
$rrd_options .= " DEF:temp_min=$rrd_filename:temp:MIN";
|
||||
@@ -24,12 +23,11 @@ include("includes/graphs/common.inc.php");
|
||||
$rrd_options .= " AREA:temp_max#c5c5c5";
|
||||
$rrd_options .= " AREA:temp_min#ffffffff";
|
||||
|
||||
|
||||
|
||||
# $rrd_options .= " AREA:temp#bbd392";
|
||||
# $rrd_options .= " AREA:tempwarm#FFCCCC";
|
||||
# $rrd_options .= " AREA:tempcold#CCCCFF";
|
||||
# $rrd_options .= " LINE1:temp#cc0000:'" . str_replace(':','\:',str_replace('\*','*',quotemeta($sensor['sensor_descr_fixed'])))."'"; # Ugly hack :(
|
||||
|
||||
$rrd_options .= " LINE1:temp#cc0000:'" . $sensor['sensor_descr_fixed']."'";
|
||||
$rrd_options .= " LINE1:tempwarm#660000";
|
||||
$rrd_options .= " GPRINT:temp:LAST:%4.1lfC";
|
||||
|
Reference in New Issue
Block a user