Ad Widget

Collapse

Actions only using translated SNMP OID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BingoThePyro
    Junior Member
    • Sep 2018
    • 7

    #1

    Actions only using translated SNMP OID

    Hi,
    Just been testing the Zabbix 4.0beta1 appliance and after a number of hours and trawling debug info I have discovered that Configuration > Actions with an SNMP discovery check automatically translates a returned OID so does not match a purely numeric OID.

    E.g.
    A Discovery check = Datacentre: SNMPv2 agent "1.3.6.1.2.1.1.2.0" Remove
    B Received value like SNMPv2-SMI::enterprises.25506.11 Remove
    C Received value like 1.3.6.1.4.1.25506.11 Remove
    This is for matching H3C network switches. I only had the 'C' entry of '1.3.6.1.4.1.25506.11' and the devices were discovered but it would not add host and create template based on the action.
    From the debug log I saw the translated version of 'SNMPv2-SMI::enterprises.25506.11' pop up so decided to add that to match and see what happens.

    I have done a lot of searching of the forums, manual, and google and I am unable to find if this is by design or a bug. In my mind it should match both, provided the MIB exists for a given key.

    Thanks!
  • BingoThePyro
    Junior Member
    • Sep 2018
    • 7

    #2
    A further update to this, I have added another range of devices to discovery and two of them are not hitting the action to add a host that other same devices did.
    After running a debug again, I found the returned value is different again!
    Using the above post, I now ALSO need a 'received value like iso.3.6.1.4.1.25506' action (note the 'iso' instead of a '1').

    Why do I sporadically get different returned results? It now means I have to have triplicate result checking.

    Comment

    Working...