Ad Widget

Collapse

Filter out Network Discovery with no light levels

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmburgess
    Junior Member
    • Mar 2019
    • 12

    #1

    Filter out Network Discovery with no light levels

    So I have successfully created a item that discovery at the network level creates a RX light level for SFP interfaces.. The issue is that it is getting created on any and all interfaces even ones that dont' support that vairable. I get "SNMP error: (noSuchName) There is no such variable name in this MIB" as would be normal for a ethernet interface or bridge, but the ones with RX light levels come up.

    What I need to do is tell it if it can't find a value, then don't create the item. How do I do that?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Overrides https://www.zabbix.com/documentation...overy#override

    Comment

    • dmburgess
      Junior Member
      • Mar 2019
      • 12

      #3
      No override section in the item

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Its not under "item prototype". It is separate tab under discovery itself... Hopefully you have at least version 5.0, where overrides appeared.

        Click image for larger version

Name:	override.png
Views:	187
Size:	9.2 KB
ID:	438896

        Comment

        • dmburgess
          Junior Member
          • Mar 2019
          • 12

          #5
          Ok, i found the overrides, currently running v5.4.8, but it is not available, not a blue button to click, its just grayed out.

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            I think you are trying to do it directly on host. You should do it in template.

            Comment

            • jiri.heinz
              Junior Member
              • Jun 2020
              • 2

              #7

              By any chance are you using SNMP v1? Try switching the host interface to SNMP v2.

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #8
                Originally posted by jiri.heinz
                By any chance are you using SNMP v1? Try switching the host interface to SNMP v2.
                How is that going to help?

                Comment

                • jiri.heinz
                  Junior Member
                  • Jun 2020
                  • 2

                  #9
                  Originally posted by cyber

                  How is that going to help?
                  SNMPv1 cannot work with 64bit counters. These are used for transferred data on network interfaces (ifHCInOctets, ifHCOutOctets, ...).

                  Comment

                  • cyber
                    Senior Member
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Dec 2006
                    • 4807

                    #10
                    Yes, but question was about filtering out interfaces, for which not to create items.. It has nothing to do with data itself..

                    Comment

                    Working...