Ad Widget

Collapse

SNMP Discovery Rule doesnt work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Enycon
    Junior Member
    • Oct 2021
    • 6

    #1

    SNMP Discovery Rule doesnt work

    Hello,

    this is my first post here - sorry for my bad english or any other mistakes!

    Im currently trying to monitor all Site2Site-VPNs on our Barracuda Firewall and im using the Template "Template Barracuda NG Firewall SNMP​" to achive that.

    This template uses a discovery rule with the SNMP OID "discovery[{#SNMPVALUE},PHION-MIB::vpnName]":

    Click image for larger version

Name:	grafik.png
Views:	287
Size:	12.4 KB
ID:	467903

    Testing this gives me the following output (This is only a part, there are actually around 350 elements):
    [{"{#SNMPINDEX}":""FW2FW-CC"","{#SNMPVALUE}":"FW2FW-CC"},{"{#SNMPINDEX}":""IPSEC-v2-Deutz_10.151.29.0-24-185.247.243.128-25{38195}"","{#SNMPVALUE}":"IPSEC-v2-Deutz_10.151.29.0-24-185.247.243.128-25{38195}"}]

    There is a filter on this rule: {#SNMPINDEX} matches @BarracudaNGvpnExcl // @BarracudaNGvpnExcl Character string included ^.*$

    Click image for larger version

Name:	grafik.png
Views:	280
Size:	6.3 KB
ID:	467904
    Click image for larger version

Name:	grafik.png
Views:	292
Size:	5.8 KB
ID:	467905


    The only item prototyp:

    Click image for larger version

Name:	grafik.png
Views:	380
Size:	13.4 KB
ID:	467902

    Other discovery rules on this host are working fine with a more or less similar layout.

    Does anyone have an idea what Im doing wrong here?
    Could it be, that zabbix is having trouble interpreting the "{" and "}" within the return value?

    Thank you in advance!

    Best regards,
    Enycon
  • Enycon
    Junior Member
    • Oct 2021
    • 6

    #2
    Okay! After a solid 8 hours or troubleshooting, I decided to disable the filter once and it actually fixed it...

    Comment

    Working...