Cisco Small Business series
![](https://secure.gravatar.com/avatar/53d01201cfa97b416e968ce00b4e61db.jpg?s=120&d=mm&r=g)
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 (website) Twitter:@Nuckleo _____________________________________________________________________
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/48bfe696ac1cbf068a4de2b752e281c6.jpg?s=120&d=mm&r=g)
Workaround to what? Cisco SB support was added by Mike, we tested it as I was asked to add such support, no issues here.
On 03.01.2014 19: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 (website) Twitter:@Nuckleo _____________________________________________________________________
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/3bbbd945c333b8013d0dfa23058f65b9.jpg?s=120&d=mm&r=g)
Hi,
I think Francesco uses CE edition.
In latest Subscription Edition support for Cisco SB already added. Upgrade your observium instance or wait next CE edition
*. :) <goog_2143683876>*http://www.observium.org/wiki/Edition_Split
Mike.
On Sat, Jan 4, 2014 at 12:07 AM, Nikolay Shopik shopik@inblock.ru wrote:
Workaround to what? Cisco SB support was added by Mike, we tested it as I was asked to add such support, no issues here.
On 03.01.2014 19: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 (website) Twitter:@Nuckleo _____________________________________________________________________
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org/ http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Mike Stupalov
-
Nikolay Shopik
-
support nuckleo