[stork-users] Hostnames do not appear in Host Reservations display

Kevin P. Fleming kevin at km6g.us
Fri Jul 15 18:48:47 UTC 2022


I've had a pair of Kea DHCP servers (for both IPv4 and IPv6) running
for a few months now, with Stork setup to monitor them. The Kea
servers are in HA mode, so they have nearly identical configurations.

Those configurations include 20+ host reservations, and those
reservations have always shown up in the Stork 'Host Reservations'
display as they should. However the 'Hostname' column was always
empty, because I didn't have hostnames specified in the Kea
configuration files.

Today I changed that, and applied hostnames to all of the
reservations, then did a 'reload' of the Kea DHCP servers. The Stork
dashboard noted that the configuration had been changed, but still
does not show the hostnames. I've waited a few hours to see if it was
just going to update later, but it has not updated.

Is there something I need to do to trigger Stork to re-read this data
from the configuration files? I've included an excerpt of the config
file below just in case I've done something incorrectly there.

-----
    "subnet4": [
      {
        "id": 1,
        "subnet": "192.168.1.0/24",
        "pools": [
          {
          "pool": "192.168.1.64/26",
          "client-class": "HA_edge21-a"
        },
          {
          "pool": "192.168.1.128/26",
          "client-class": "HA_edge21-b"
        }
        ],
        "reservations": [
          {
            "hw-address": "5c:e1:76:f2:4d:c8",
            "ip-address": "192.168.1.192",
            "hostname":  "ap-4",
            "user-context": {
              "name": "ap-4"
            }
          },
          {
            "hw-address": "6c:41:0e:22:01:ac",
            "ip-address": "192.168.1.193",
            "hostname":  "ap-5",
            "user-context": {
              "name": "ap-5"
            }
          },
          {
            "hw-address": "6c:41:0e:22:01:00",
            "ip-address": "192.168.1.194",
            "hostname":  "ap-6",
            "user-context": {
              "name": "ap-6"
            }
          },
          {
            "hw-address": "70:f0:96:86:3d:e8",
            "ip-address": "192.168.1.195",
            "hostname":  "ap-7",
            "user-context": {
              "name": "ap-7"
            }
          },
          {
            "hw-address": "00:25:90:b9:bf:33",
            "ip-address": "192.168.1.196",
            "hostname":  "nas-bmc",
            "user-context": {
              "name": "nas-bmc"
            }
          }
        ]
      }


More information about the Stork-users mailing list