Ad Widget

Collapse

Changing the OID of IFALIAS in a discovery template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dannyberg
    Junior Member
    • Jan 2020
    • 5

    #1

    Changing the OID of IFALIAS in a discovery template?

    Hi!

    I'm monitoring some Brocade Fibre Channel switches, using the Brocade template "Template Net Brocade FC SNMPv2". As Brocade doesn't populate IF-MIB::ifAlias, items created by Zabbix don't show the port name:

    Interface 0/0({#IFALIAS}): Bits received

    So I cloned "Template Module Interfaces SNMPv2" and edited the "Network Interfaces Discovery" rule. In the "SNMP OID" field I just changed the IFALIAS OID from its default to Brocade's SW-MIB::swFCPortName:

    {#IFALIAS},1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36

    This does not produce any change in the created items, even if I create a new host and rediscover all interfaces. I have verified that all port names are in that OID.

    Would this be the correct way to go about it?
  • chrisme
    Junior Member
    • Sep 2016
    • 15

    #2
    Hi,

    i have the same #IFALIAS problem with brocade switches.
    Do you find a solution?


    Comment

    • dannyberg
      Junior Member
      • Jan 2020
      • 5

      #3
      Unfortunately not - got sidetracked. One thought is that I did not do a "full clone" of the template. Maybe that's needed?

      Comment

      • chrisme
        Junior Member
        • Sep 2016
        • 15

        #4
        I make a full clone from the "Module Interfaces SNMPv2" template and change the OID {#IFALIAS} in this. After that i link this new template to the original Template Net Brocade FC SNMPv2 Template.
        It doesnt work...

        Comment

        • dannyberg
          Junior Member
          • Jan 2020
          • 5

          #5
          Did you try a full clone of Template Net Brocade FCSNMPv2 also?

          Comment

          • dannyberg
            Junior Member
            • Jan 2020
            • 5

            #6
            We tried deleting our Brocade switches and their data, unlinking and clearing the templates, doing a full clone of "Template Net Brocade FCSNMPv2" where its linked template Module Interfaces SNMPv2 was edited to the Brocade OID for #IFALIAS, re-added the Brocade switches. Didn't work.

            That is where the discovery happens, or at least is supposed to happen as far as I can tell, so I'm not sure why it's not picked up.

            Comment

            • chrisme
              Junior Member
              • Sep 2016
              • 15

              #7
              I clone the "Template Module Interfaces SNMPv2" and delete the #IFALIAS Macro in the discovery rule for my brocade switche. Its ok.

              Comment

              • dannyberg
                Junior Member
                • Jan 2020
                • 5

                #8
                You mean that you just don't want to see "#IFALIAS" next to the interface name? What I want is to populate #IFALIAS with another OID.
                Still haven't figured it out. Having trouble finding what the "Key" field in a discovery rule is actually for..

                Comment

                • chrisme
                  Junior Member
                  • Sep 2016
                  • 15

                  #9
                  I have tested around 3 hours with clone templates, change the oid in the #IFALIAS macro etc.
                  Your OID 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.36 is ok, but zabbix can not work with this.
                  In this case i gave up ;-/




                  Comment

                  • Arkyes
                    Junior Member
                    • Apr 2020
                    • 1

                    #10
                    Hi
                    I've found a solution. I unlink the "Template Module Interfaces SNMPv2" from the brocade template and I link the template "Template Module Interfaces Simple SNMPv2" instead.
                    The "Template Module Interfaces Simple SNMPv2" does not have the #IFALIAS macro

                    Comment

                    • MikeTk
                      Junior Member
                      • Aug 2019
                      • 19

                      #11
                      Originally posted by Arkyes
                      Hi
                      I've found a solution. I unlink the "Template Module Interfaces SNMPv2" from the brocade template and I link the template "Template Module Interfaces Simple SNMPv2" instead.
                      The "Template Module Interfaces Simple SNMPv2" does not have the #IFALIAS macro
                      Thanks. My Dell EMC Connectrix DS-6600B its OK!

                      Comment

                      • lanny
                        Junior Member
                        • Jan 2024
                        • 2

                        #12
                        Can you share your Dell EMC Connectrix DS-6600B template?,thanks

                        Comment

                        • lanny
                          Junior Member
                          • Jan 2024
                          • 2

                          #13
                          Originally posted by MikeTk

                          Thanks. My Dell EMC Connectrix DS-6600B its OK!
                          Can you share your Dell EMC Connectrix DS-6600B template?,thanks

                          Comment

                          Working...