Skip to content
home@dennisPersonal Website of Dennis Plöger
  • Home
  • Blog
  • Artist
  • Impressum
  • Datenschutzerklärung

DHCP Commit Reporting

25. Mai 2012

We have a rather large DHCP-Setup here consisting of several subnets, ranges, groups and such. Additionally we’re using static assignments here with hosts not within any configured range.

Yeah, I know, that’s not DHCP in its pure form, get over it.

However, as we redesigned the complete setup with a fresh new and optimized configuration file we’d like to have a nice overview on which hosts have which leases.

As ISC DHCP currently seems to be unable to add appropriate entries to its leases-database for statically assigned hosts, this was kind of a problem.

However, I found something on the internet enabling DHCP to add custom log lines whenever it gives out („commits“) an IP. I then wrote a quick log parsing utility, that generates a nice textual representation of the commit-process.

Being a DokuWiki-fanboy I made the report DokuWiki-compatible and even wrapped up a small script utilizing DokuWiki’s XMLRPC-API to upload the page.

However, if you need a format other than DokuWiki you’re welcome to fork the project and add the additional code.

Grab the package at its [[https://github.com/dploeger/dhcp-commit-report|GitHub repository]]

Tags: commit, development, dhcp, dokuwiki, ip, log, python

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Copyright (c) Dennis Plöger | Theme by ThemeinProgress | Proudly powered by WordPress

Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von Einwilligungen, klicken Sie hier: Einstellungen