[Kea-users] Can KEA trigger webhooks?

Stefan G. Weichinger lists at xunil.at
Fri Dec 23 09:57:15 UTC 2022


Am 22.12.22 um 12:40 schrieb Darren Ankney:

> If you are just wanting lease information out of Kea when it
> allocates a lease to someone, have a look at the HA hook 
> (https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#ha-high-availability-outage-resilience-for-kea-servers
> <https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#ha-high-availability-outage-resilience-for-kea-servers>)
> Specifically the “passive backup” configuration
> (https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#passive-backup-configuration
> <https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#passive-backup-configuration>)
> as that will send lease details in JSON to the configured IP and port
> where you could have some type of application listening to do
> something with the information.

I am not sure if I understand that correctly:

The called webhook IP:port would be configured as a peer under "peers:" 
? Could you maybe give an example?

I am currently playing with integrating kea with n8n by using the 
API-Calls. This is a pull-approach, for sure a "push" would be better.

thanks!




More information about the Kea-users mailing list