Ad Widget

Collapse

Tunnel discovery for SNMP connections

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aigna
    Junior Member
    • Oct 2023
    • 1

    #1

    Tunnel discovery for SNMP connections

    Hi guys,

    I'm trying to create tunnel monitoring by discovery rule, using SNMP OID 1.3.6.1.4.1.9.9.171.1.2.3.1.7.{#SNMPINDEX}. Everything works great but I'm finding it difficult to create triggers, as every discovered item has a different name. For example I need to make sure that zabbix returns IP addresses as 172.022.000.129 | 172.022.002.130 | 172.022.000.131 | 172.022.002.132 but when discovered items are created, there is no way I can find it, because there are 200/300 indexes

    For example: 200 items, every one ends with SNMPINDEX, how to find these four 172.022.000.129 | 172.022.002.130 | 172.022.000.131 | 172.022.002.132 in such a list of items?
    Tunnel discovery: 172.022.000.129 cikeTunRemoteValue cikeTunRemoteValue[241]
    Tunnel discovery: 172.022.000.129 cikeTunRemoteValue cikeTunRemoteValue[240]
    Tunnel discovery: 172.034.141.010 cikeTunRemoteValue cikeTunRemoteValue[239]
    Tunnel discovery: 172.034.141.010 cikeTunRemoteValue cikeTunRemoteValue[238]


    Any ideas how to create the regular expression?
Working...