Ad Widget

Collapse

pfSense SNMP monitoring issue with DNS, DHCP & Nginx services

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • llinty
    Junior Member
    • Jan 2024
    • 14

    #1

    pfSense SNMP monitoring issue with DNS, DHCP & Nginx services

    Hello,

    I'm monitoring pfsense virtual appliance by usin SNMP protocol. I can ping pfsense in Zabbix the flag is green. However it says that none of these three services are running on pfsense: DNS, DHCP & Nginx. Which is false of course.

    I have performed some tests for DNS (unbound) :

    snmpwalk -v 2c -c public x.x.x.x .1.3.6.1.2.1.25.4.2.1.2 | grep unbound
    iso.3.6.1.2.1.25.4.2.1.2.89075 = STRING: "unbound"

    The value is also available for the index 89075.
    snmpwalk -v 2c -c public 192.168.100.254 .1.3.6.1.2.1.25.4.2.1.7 | grep 89075
    iso.3.6.1.2.1.25.4.2.1.7.89075 = INTEGER: 2

    I have used this template (Zabbix 6.4) : https://git.zabbix.com/projects/ZBX/...lease%2F6.4#34
    When I'm using Dynamic Index query which is configured in Zabbix items it fails! But it als explain why Zabbix says that DNS is not running.

    snmpwalk -v 2c -c public 192.168.100.254 .1.3.6.1.2.1.25.4.2.1.7["index",".1.3.6.1.2.1.25.4.2.1.2","unbound"]
    .1.3.6.1.2.1.25.4.2.1.7[index,.1.3.6.1.2.1.25.4.2.1.2,unbound]: Unknown Object Identifier (7[index,)​

    Items test also failed with Zabbix.
    What did I missed?
    Best regards.
    Attached Files
Working...