Ad Widget

Collapse

Using wrong / different template for host switch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KBBarbers
    Junior Member
    • Oct 2024
    • 12

    #1

    Using wrong / different template for host switch

    Hi All,

    In our site we have a mixture of Cisco 9000s series and Rockwell Stratix 5700 (rebranded Cisco IE2000) switches. For the 9000 series switches it was straightforward to begin monitoring them using the included template. As far as I can see however there isn't a template, default, community, or otherwise for the Stratix 5700 or IE2000.

    After spending some time investigating creating a new template, initially thinking it would be easy using SNMP2ZABBIX, I began to understand how large a task it actually would be after finding and downloading the MIBS (106 items) and using SNMPtranslate to extract the OIDs from the entire folder. It looks like weeks of work sifting through MiBs OID documentation to assess whether I would want to collect data from each OID, and its not something I can afford at the moment.

    In the end I tried using the 9000 series template for the Stratix as well and the results look fine so far. The 9000s series template says in its description that it uses the following MiB:

    CISCO-ENHANCED-MEMPOOL-MIB
    CISCO-ENTITY-FRU-CONTROL-MIB
    CISCO-ENTITY-SENSOR-MIB
    CISCO-PROCESS-MIB
    ENTITY-MIB
    EtherLike-MIB
    IF-MIB
    SNMPv2-MIB
    SNMP-FRAMEWORK-MIB
    CISCO-IMAGE-MIB

    All of these are available in the MIB list for the IE2000 except CISCO-ENHANCED-MEMPOOL-MIB. The description of this MIB states "New MIB module for monitoring the memory pools of all physical entities on a managed system."

    Comparing hosts with the template applied the only missing information that I can see from the Stratix switches that shows up on our 9200/9300s is related to temperature sensing. Nothing to do with memory pool monitoring at all.

    Does anyone have any experience of doing something similar? Am I likely going to get my butt kicked because of this missing MIB compatibility? I am thinking about at least investigating the basic CISCO-MEMORY-POOL-MIB that the Stratix is compatible with to see if there is functionality in there that I would want (and then I suppose investigating why equivalent information isn't being parsed from the ENHANCED version of the MIB on the 9000 series template)
  • mrnobody
    Member
    • Oct 2024
    • 61

    #2
    Hi, i think a lot of people here have done something familiar, you're definely in the right path: studying how it works and testing. Now you have options: can craft your custom Template with this knowledgment (that i suggest), wait for someone does one like you need, upload it and you download ir (can wait forever), or pay someone to do this for you. And after done, probably will need changes in time...

    Comment

    • troffasky
      Senior Member
      • Jul 2008
      • 568

      #3
      Perhaps you don't get temperature information because they don't have temperature sensors.
      Have you tried just using the factory generic SNMP templates? Although starting with Cisco templates is probably the best bet.
      Once you have the most interesting information, chasing down the last few items to monitor on a host is a case of diminishing returns.

      Comment

      • KBBarbers
        Junior Member
        • Oct 2024
        • 12

        #4
        The generic templates for both SNMP device and network SNMP device returned an error when I tried to apply them to these switches so I think that using the 9000 series template is probably the best start

        I don't mind tweaking and fine tuning using MIB references, and it sounds like there isn't likely going to be some major problems as a result if this is a common approach

        Interestingly there actually is a temperature sensor in the Rockwell switches too, its just not mapped to the same OID, so thats one thing i can start with

        Cheers both!

        Comment

        • srbarcena
          Junior Member
          • Dec 2024
          • 1

          #5
          Where did you get the template you are using? Im having trouble getting legit IE-2000s to report their model info using the generic "Cisco IOS by SNMP" template none of them will do it so unsure if its related

          Comment

          • KBBarbers
            Junior Member
            • Oct 2024
            • 12

            #6
            I've been using the "CISCO Nexus 9000 series" templates included with zabbix

            tbh model info wasnt a data item that I needed or had looked at before, but Ive just checked in my hosts "latest data" and found that "Hardware model name" and "Hardware serial number" weren't being retrieved even on the actual 9000 series switches. Error messages says "No such instance currently exists at this OID"

            I'm assuming that there's just a mistake in the template where it points to the wrong OID for that information for a CISCO switch

            If you can find the right OID from CISCO documentation online then SNMPwalk from command line to pull out the string to verify the information is there, all you'll need to do then is to modify the OID pointed to for that data item in whichever template youre using

            Comment

            Working...