Ad Widget

Collapse

Can't monitor network traffic on interface - 'Not supported'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MajorLEN
    Junior Member
    • Apr 2023
    • 11

    #1

    Can't monitor network traffic on interface - 'Not supported'

    Good morning,

    I am looking for some help/guidance with monitoring network traffic of our switches.

    We currently use Extreme X440-G2 switches in our infrastructure.

    I have manually added the switches to Zabbix using SNMP and linked the switch to the 'Extreme EXOS by SNMP' template.

    However, on the 'Data Collection' > 'Hosts' screen i can see that there are ~2300 items. If i click on 'items' and click on one of the switch interfaces, it displays that 'Bits received' and 'Bits sent' are 'Not Supported'

    Click image for larger version

Name:	bits - not supported.png
Views:	1092
Size:	8.9 KB
ID:	464038

    Click image for larger version

Name:	SNMP error.png
Views:	879
Size:	12.2 KB
ID:	464039

    I have logged into the Extreme switch web portal, downloaded the 'Latest & recommended' MIB .txt file, put it in '/usr/shared/snmp/mibs' and then restarted the Zabbix server.

    i have also run 'apt-get install snmp-downloader'

    Has anyone had this issue?

    Any help would be much appreciated.

    Thanks
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Downloading and installing the MIB in this case most likely has nothing to do with it at all.
    You need to figure out how LLD works and what SNMP tables are, find out which OIDs contain the information you need and, if necessary, adjust the template.

    Comment

    • MajorLEN
      Junior Member
      • Apr 2023
      • 11

      #3


      Not sure why these are not working as Extreme Switches are clearly supported out of the box with Zabbix (see below)
      Click image for larger version

Name:	image.png
Views:	886
Size:	80.5 KB
ID:	464054

      Why is it showing as not supported?​

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Maybe I'm wrong - after carefully reading the error message. Your OIDs are written in text notation and it is not possible to request them. Try to rewrite in numerical notation.

        Request the OID directly from the command line (snmpget) and look at the error messages.

        And try to disable "Use bulk requests" in the interface settings

        If you use SMNPv1 - see http://www.net-snmp.org/wiki/index.p...pplications_09
        Last edited by Hamardaban; 05-05-2023, 12:50.

        Comment

        • MajorLEN
          Junior Member
          • Apr 2023
          • 11

          #5
          Ok so seems like it is working if i use snmpget with the OID in Zabbix manual.

          However, if i leave it as OIDxxx.{#SNMPINDEX}, i get an snmp_parse_oid(): cannot parse OID "1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}". error

          If i change the {#SNMPINDEX} to the acutal port number (1001) in this case, it retrieves the value correctly ​

          Comment

          • MajorLEN
            Junior Member
            • Apr 2023
            • 11

            #6
            snmpwalk -v1 -c 'communityString' 'IP of switch' 1.3.6.1.2.1.2.2.1.16.1001

            so the OID of 1.3.6.1.2.1.2.2.1.16.1001 (which specifies the port number as a numeric value) works, see below:
            IF-MIB::ifOutOctets.1001 = Counter32: 3170508262


            when using ​{#SNMPINDEX} instead of a numeric port value, it fails with snmp_parse_oid(): cannot parse OID "1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}

            How i fix this though, i do not know.

            EDIT----

            I have just 'un-linked and cleared' the template and re-added it again, it now seems to be working....
            Last edited by MajorLEN; 05-05-2023, 15:55.

            Comment

            • Hamardaban
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • May 2019
              • 2713

              #7
              1) snmpget -v1 -c 'communityString' 'IP of switch' IF-MIB::ifOutOctets.1001 ???
              2) snmpwalk -v1 -c 'communityString' 'IP of switch' IF-MIB::ifOutOctets ???
              3) try use SNMP v2c
              4) try to disable "Use bulk requests" in the interface settings
              5) don't try use {#SNMPINDEX}​ in request- it is LLD feature !
              6) try use 1.3.6.1.2.1.2.2.1.16 instead ifOutOctets in items.

              Comment

              • MajorLEN
                Junior Member
                • Apr 2023
                • 11

                #8
                Thanks for your input Hamardaban​.

                It seems to be working now....I have just 'un-linked and cleared' the template and re-added it again

                Comment

                Working...