Ad Widget

Collapse

make Discovery rules specific for fiber and coper connection on switch !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geohaug
    Member
    • Oct 2017
    • 36

    #1

    make Discovery rules specific for fiber and coper connection on switch !

    Hi all,

    it's maybe possible to configured in "Configuration/Host" to configure the fiber or copper connection display?

    If it's possible, where ? with which code ?

    thank you in advance

    Geohaug
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Hi,

    Sorry, how you want to achieve that? I mean - how you can identify the connection type?

    P.S. - The Network Discovery can't discover the topology of the network.

    Regards,
    Alex!

    Comment

    • troffasky
      Senior Member
      • Jul 2008
      • 567

      #3
      You would need to find an OID that represents what type of connection a given interface is. EG on an SG500, I see ~130 parameters per interface, including ifType:
      Code:
      IF-MIB::ifIndex.50 = INTEGER: 50
      IF-MIB::ifDescr.50 = STRING: gigabitethernet1/1/2
      IF-MIB::ifType.50 = INTEGER: ethernetCsmacd(6)
      Alas, copper or fibre, the ifType is the same because they're both Ethernet. I am sure I have seen more detail on interface types with SNMP but I can't remember what type of switch or more importantly, what OID it was.

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 567

        #4
        I think IANA-MAU-MIB::dot3MauType is what you want, but none of the switches I have tried walking support that MIB so I can't say.

        This memo defines a portion of the Management Information Base (MIB) for use with network management protocols in the Internet community. [STANDARDS-TRACK]

        Code:
        RFC 2668                     802.3 MAU MIB                   August 1999
        
        
                  SYNTAX      INTEGER {
                                  other(1),
                                  rj45(2),
                                  rj45S(3), -- rj45 shielded
                                  db9(4),
                                  bnc(5),
                                  fAUI(6),  -- female aui
                                  mAUI(7),  -- male aui
                                  fiberSC(8),
                                  fiberMIC(9),
                                  fiberST(10),
                                  telco(11),
                                  mtrj(12),  -- fiber MT-RJ
                                  hssdc(13)  -- fiber channel style-2
                              }

        Comment

        • troffasky
          Senior Member
          • Jul 2008
          • 567

          #5
          Found a phone system that supports ifJackType and it returns a value which is correct, so that's a start :-)

          Code:
          mitelwalk.snmp:MAU-MIB::ifJackType.1.1.1 = INTEGER: rj45S(3)

          Comment

          Working...