[Kea-users] ping-check-hooks – global vs subnet level enable-ping-check behavior

Dipesh Kayastha er.dipesh.kayastha at gmail.com
Fri Aug 29 19:12:58 UTC 2025


Hello Darren,

While testing libdhcp_ping_check.so, I noticed that the documentation
under Ping
Check Hook
<https://kea.readthedocs.io/en/kea-3.0.1/arm/hooks.html?utm_source=chatgpt.com#id7>
shows parameters directly under "user-context".

However, the code (ConfigCache::parseAndCacheConfig) expects them under a
nested "ping-check" object.

Example that works:

"user-context": {
  "ping-check": {
    "enable-ping-check": true,
    "min-ping-requests": 2,
    "reply-timeout": 250,
    "ping-cltt-secs": 120
  }}

The docs example without "ping-check": {} does not work. Could you please
update the documentation to reflect this?

Thanks,
Dipesh

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250830/61d56737/attachment.htm>


More information about the Kea-users mailing list