Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DHCP leases monitor for pfSense

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 247 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cjnazz
      last edited by

      https://github.com/cjnaz/routermonitor

      An offering for the community…
      routermonitor pulls the current DHCP leases from pfSense and saves them in a database. For new devices on your network, routermonitor sends a text notification. In many cases, an IOT device hostname is unintelligible, so routermonitor supports adding notes to the records. The set of records can be listed with sorting on all fields (MAC, hostname, IP address, IP expiry, and first seen), and searched for any string.

      I've been running this tool on my network for over a year. It pretty much solves the "what the heck is that device?" problem. Originally written for dd-wrt, it needed an update for pfSense support. I run it as a systemd service with updates every 15 minutes. This is a CLI tool written in Python and supports the latest pfSense+ and CE versions.

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.