Ad Widget

Collapse

{#SNMPINDEX} macro manipulation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rusadm
    Junior Member
    • Apr 2025
    • 3

    #16
    I don't have any unsupported elements.
    I created a filter in the Discovery rule:
    {#VALUE} 1.3.6.1.4.1.9.9.91.1.1.1.1.4
    Attached Files

    Comment

    • kyus
      Senior Member
      • Feb 2024
      • 172

      #17
      Just as an addition to rusadm answer, if {#ENTPHYSICALDESCR} exists in your JSON but has no value, you can also try this filter:

      Click image for larger version

Name:	image.png
Views:	103
Size:	16.6 KB
ID:	502232
      Last edited by kyus; 23-04-2025, 20:53.

      Comment

      • novakm
        Member
        • Apr 2009
        • 38

        #18
        I finally got time to test it again

        Originally posted by rusadm
        I don't have any unsupported elements.
        I created a filter in the Discovery rule:
        {#VALUE} 1.3.6.1.4.1.9.9.91.1.1.1.1.4
        Im sorry but this works only if the device has populated the entSensorThresholdTable, for example 1.3.6.1.4.1.9.9.91.1.2.1.1.4. As soon as this table is not filled with values you will end up with lots of unsupported items (for example C9200 dont have those tables filled, I dont know why).

        Maybe Im missing something trivial but I didn't find a way to prevent creating those unsupported items if the table is not popuplated.

        Comment

        • kyus
          Senior Member
          • Feb 2024
          • 172

          #19
          That's why the filter was created, that way you only get items if the macro was populated.

          You can add more filters if you need

          Comment

          • cbl
            Junior Member
            • Apr 2025
            • 7

            #20
            There is a 3rd party template linked from the templates page here on zabbix.com that does Tx/Rx power. It has triggers for all four of the OID's (the .1-.4 after the snmp index macro)
            It also takes into account the threshold and if it's a HIGH mark or LOW mark threshold.

            Cisco_Sensors @ https://www.zabbix.com/integrations/cisco#3rd_party


            Note: I updated the referenced MIBs in the template to use the OID, to avoid having to load MIBs.


            The issue I have with this template is that unused ports on some models still report their Tx/Rx power. Which on an unused port is out of range. This causes a false alarm even when the port is shut.

            Comment

            Working...