show ports/sensors on the device list page. add option to use php-snmp functions for snmp_get()s

git-svn-id: http://www.observium.org/svn/observer/trunk@1716 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-09-26 22:10:04 +00:00
parent 5f67749a3f
commit 038bc8c20e
11 changed files with 228 additions and 137 deletions

View File

@ -22,5 +22,7 @@ if($_GET['bg']) { $rrd_options .= " -c CANVAS#" . mres($_GET['bg']) . " "; }
if($height < "99") { $rrd_options .= " --only-graph"; }
if($width <= "300") { $rrd_options .= " --font LEGEND:7:" . $config['mono_font'] . " --font AXIS:6:" . $config['mono_font'];
} else { $rrd_options .= " --font LEGEND:8:" . $config['mono_font'] . " --font AXIS:7:" . $config['mono_font']; }
$rrd_options .= " --font-render-mode normal";
?>