OSPF poller. may get split into discovery/poller at some point. no RRDs yet. no web interface.

git-svn-id: http://www.observium.org/svn/observer/trunk@2175 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-27 01:39:02 +00:00
parent c78bfc8a4d
commit ac299ec4fa
4 changed files with 198 additions and 2 deletions

View File

@@ -348,7 +348,7 @@ function snmpwalk_cache_oid($device, $oid, $array, $mib = NULL, $mibdir = NULL)
{
list($oid,$value) = explode("=", $entry);
$oid = trim($oid); $value = trim($value);
list($oid, $index) = explode(".", $oid);
list($oid, $index) = explode(".", $oid, 2);
if (!strstr($value, "at this OID") && isset($oid) && isset($index))
{
$array[$index][$oid] = $value;