Please don't do any of this, and please don't post modifications to files which are present in the SVN to the mailing list :)
It breaks the ability for people to update, and not everyone will understand what has broken.
Adding MIBs to the mibs array in defaults will literally do nothing, that array is just used by discovery modules to enable/disable modules based on MIB.
Please find the sysObjectIds of the devices which aren't discovered so we can add them to the sysObjectId array for automatic discovery. The current array consists of :
$config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.9.6.1.81."; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.9.6.1.82."; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.9.6.1.83."; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.9.6.1.85."; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.9.6.1.11.82."; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.3955.";
Thanks, adam.
On 2014-01-03 15:51, support nuckleo wrote:
Hello everybody I would like to share a small workaround in order to monitoring the cisco Small business series sg 200/300 in the right way
I have add some mibs in the /opt/observium/includes/defaults.inc.php $config['mibs']['CISCOSB-MIB'] = 1; $config['mibs']['CISCOSB-CPU-COUNTERS-MIB'] = 1; $config['mibs']['CISCOSB-JUMBOFRAMES-MIB'] = 1; $config['mibs']['CISCOSB-vlan-MIB'] = 1; $config['mibs']['CISCOSB-vlanVoice-MIB'] = 1; $config['mibs']['CISCOSB-SMON-MIB'] = 1;
Detect your sysdescr sysDescr in this way: snmpwalk -c public -v2c device sysDescr
and after I made some changes mapping the sysDescr on the right os so in /opt/observium/includes/discovery/os/cisco.inc.php add
else if (strstr($sysDescr, "50-Port Gigabit Smart Switch")) { $os = "ciscosb"; } else if (strstr($sysDescr, "SG200-50P 50-Port Gigabit PoE Smart Switch")) { $os = "ciscosb"; } Then if you have just discoverd, delete your cisco small business devices and rediscovery the devices again. Thats all!
Francesco Pansini
NUCKLEO Information Technology Solutions Support & Delivery Team http://www.nuckleo.com [1] (website) Twitter:@Nuckleo _____________________________________________________________________
Links:
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium