Cisco Stacked switches?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2015 07:14 AM
We're currently trying to quickly populate our asset records through discovery and we hit a snag when it comes to Cisco stacked switches; discovery only finds the primary switch but we'd like to discover all members of the stack.
I found on share the following post - Custom Probe/Sensor - Cisco Stacked Switches (member info) but it assumes you know how discovery works and I haven't been able to make it work, the error message I got is: No sensors defined
How do you deal with stacked switches? were you able to make the shared probe/sensor work? and if you did, how?
Thanks!
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 05:07 AM
I've had a little time to play with this and trying to work with our Network team. It seems our stack module's sysNames are not set which would prove difficult resolving your sensor. Hopefully they can figure out what configurations need to be set.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 05:39 AM
Hi Andrew,
sysName is found during SNMP - Classify, way before the 2 new probes get triggered. So you would have had this issue before the new customization.
Were you able to discover these or any cisco switches prior?
Thanks,
-Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 05:47 AM
Sorry, I meant the moduleNames are blank and not the Cisco stack's sysName. Below is an example payload of one of our Cisco Catalyst 2960S.
<iso oid="1">
</moduleSerialNumberString>
<moduleModel type="SnmpOctetString">
</moduleModel>
<moduleName type="SnmpOctetString"/>
<moduleEntry instance=".2">
</moduleSerialNumberString>
<moduleModel type="SnmpOctetString">
</moduleModel>
<moduleName type="SnmpOctetString"/>
</iso>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 05:57 AM
Ah I see - I just looked at the Cisco - Member sensor, I ended up not using/needing moduleName. The sensor should work regardless - however if you do not want to see a blank entry in the payload, you can remove the moduleName from the SNMP Fields section of that probe.
Are you seeing any specific errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2015 09:37 AM
Hi Ryan,
I installed and was able to discover Cisco Catalyst 3700's Stacks .
A behavior that is somewhat undesirable is that the models for discovered stack members are not always correct. For example, I scanned a four switch stack and I was expecting two switches to be model WS-C3750X-48T-S, but one was discovered as WS-C3750X-48.This is something I've seen before so nothing to do with your code.
I'm also trying to figure out how to add other Stacks like the 2900's. I added the following OID: 1.3.6.1.4.1.9.1.1208 to the Cisco Module Switch classifier (SNMP OID Classification) but this didn't work. Is there anything else that needs to be done or could it be that the OID is not correct? What do you recommend
Excellent work and thanks for sharing it!