Ad Widget

Collapse

Update Zabbix SNMP Template for pfSense to include Kea DHCP monitoring?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philvuchetich
    Junior Member
    • Jun 2021
    • 3

    #1

    Update Zabbix SNMP Template for pfSense to include Kea DHCP monitoring?

    Netgate updated pfSense Plus 23.09 to include the Kea DHCP server as an optional replacement to the ISC DHCP server.


    Enabling the Kea DHCP server disables the ISC DHCP server. Switching from ISC to Kea causes an alert on Zabbix upon the next SNMP check because the process names are different. "DHCP not running".

    The Zabbix template for pfSense monitoring via SNMP needs to be updated to include Kea DHCP, and instructions about how to switch to monitoring Kea is needed.
    The template is at https://git.zabbix.com/projects/ZBX/...at=release/6.4

    After initial SNMP testing, the primary change is to add to the template a search for the new process names:
    Current item: PFSense: DHCP server status
    SNMP OID: .1.3.6.1.2.1.25.4.2.1.7["index",".1.3.6.1.2.1.25.4.2.1.2","dhcpd"]​

    New items for Kea DHCP:
    SNMP OID: .1.3.6.1.2.1.25.4.2.1.7["index",".1.3.6.1.2.1.25.4.2.1.2","kea-dhcp4"]​
    SNMP OID: .1.3.6.1.2.1.25.4.2.1.7["index",".1.3.6.1.2.1.25.4.2.1.2","kea-dhcp6"]​

    The other settings for monitoring Kea DHCP would follow the same pattern as the existing ISC DHCP.

    I would suggest that Kea DHCP monitoring is not enabled by default at this time since this is a new, optional server.

    Until the official template is updated it is straightforward to clone the existing DHCP item, copy/paste or edit the SNMP OID, and rename it as needed. Attached are screenshots of my initial draft of the new items.
    Attached Files
  • akong77
    Junior Member
    • Oct 2018
    • 21

    #2
    Hello,
    I has try edit dhcp monitor but always show dhcp not running.
    My pfsense version is 2.7.2
    Zabbix Server is 7.0 LTS.Agent version is 6.4.Could have miss something setting?

    Comment

    • rubber_duck13
      Junior Member
      • Dec 2024
      • 2

      #3
      I know this is an old post, but I made the changes mentioned above, and like akong77, it shows my dhcp not running. anyone have this running?

      Comment

      • Rod21
        Junior Member
        • Feb 2025
        • 1

        #4
        Hi everyone,

        I'm facing the exact same issue. I've modified the pattern directly, checked the trigger and its key, and tested the obtained value (2: running), but Zabbix still indicates that the Kea DHCP server is not running.

        I don't know what else to try...

        Do you have any ideas?

        Thanks!

        Comment

        • BlueH2O
          Junior Member
          • Jul 2023
          • 6

          #5
          I have made sure that my template references the correct process. I have removed the template from the host and re-added it. I have deleted the host and re-created it with the new template.
          When I test the template it comes back with (2) Running
          Dashboard STILL says DHCP is not running. I am going crazy.

          Comment

          Working...