fix uptime graph

git-svn-id: http://www.observium.org/svn/observer/trunk@1652 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-08-09 22:59:54 +00:00
parent a836426f55
commit a2636b4668
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ while ($device = mysql_fetch_assoc($device_query))
$sysDescr = trim(shell_exec($config['snmpget'] . " -m SNMPv2-MIB -O qv -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'].":".$device['port'] . " sysDescr.0"));
$sysName = strtolower($sysName);
$hrSystemUptime = snmp_get($device, ".1.3.6.1.2.1.25.1.1.0", "-Oqv", "HOST-RESOURCES-MIB");
$hrSystemUptime = snmp_get($device, "HOST-RESOURCES-MIB::hrSystemUptime.0", "-Oqv");
# echo("UPTIMES: ".$hrSystemUptime."|".$sysUptime."]");