<?php /** * Observium * * This file is part of Observium. * * @package observium * @subpackage discovery * @copyright (C) 2006-2014 Adam Armstrong * */ ## OSPF-MIB::ospfNbrIpAddr.172.22.203.98.0 if ($config['autodiscovery']['ospf'] != FALSE) { echo "OSPF Neighbours: \n"; $ips = snmpwalk_values($device, "ospfNbrIpAddr", array(), "OSPF-MIB", mib_dirs()); foreach ($ips as $ip) { discover_new_device($ip, 'ospf', 'OSPF', $device); } } // EOF
<?php /** * Observium * * This file is part of Observium. * * @package observium * @subpackage discovery * @copyright (C) 2006-2014 Adam Armstrong * */ ## OSPF-MIB::ospfNbrIpAddr.172.22.203.98.0 if ($config['autodiscovery']['ospf'] != FALSE) { echo "OSPF Neighbours: \n"; $ips = snmpwalk_values($device, "OSPF-MIB::ospfNbrIpAddr", array(), "OSPF-MIB"); foreach ($ips as $ip) { discover_new_device($ip, 'ospf', 'OSPF', $device); } } // EOF