Ad Widget

Collapse

Network address where OID contains IP address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • osmoonlight
    Junior Member
    • Jul 2022
    • 9

    #1

    Network address where OID contains IP address

    I think I am close to the solution of this one, but I am missing the last saucer in the cabinet...

    I am trying to get the network address of a NAS into the results page. Simple network Discovery rule with Item prototype doesn't do it because the OID is .1.3.6.1.2.1.4.20.1.1.10.10.10.17, which throws Zabbix since the index is too much.
    Steps taken so far:

    1) In the Discovery rule I added the oid,{#IFADDR} part. When testing, it now shows the addresses of the three network ports.
    Click image for larger version

Name:	image.png
Views:	181
Size:	79.9 KB
ID:	494302

    2) In the Item prototypes (and here it gets a bit confused after reading through the forums, etc.), I created a Preprocessing step SNMP walk to JSON, field name {#IFADDR}, OID prefix same as in the discovery rule, Format: unchanged.

    Click image for larger version

Name:	image.png
Views:	118
Size:	40.5 KB
ID:	494303
    In the prototype window, I am not sure what goes into the OID field. All the variations I could think of didn't succeed. ​
    Click image for larger version

Name:	image.png
Views:	110
Size:	72.4 KB
ID:	494304

    Any ideas how to get this working? Or am I getting it all wrong and the actual solution looks completely different?

    Thanks a bunch.​
Working...