Hello,
Thanks for the suggestion, unfortunately it doesn't seem to work either :(
curl -X POST -H "Content-Type: application/json" -d '{ "command":
"lease4-get-all", "service": [ "dhcp4" ]}' http://127.0.0.1:8080 | jq
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 122 100 68 100 54 53042 42121 --:--:-- --:--:-- --:--:--
68000
[
{
"result": 1,
"text": "no current lease manager is available"
}
]
2020-03-03 09:23:09.258 ERROR [kea-ctrl-agent.callouts/26800]
HOOKS_CALLOUT_ERROR error returned by callout on hook 1 registered by
library with index
$lease4_get_all (callout address 0x7f172e322b40) (callout duration 0.086 ms)
On Tue, 3 Mar 2020 at 08:16, TroYy <[email protected]> wrote:
> It seems that you must include "service" which you want to be asked
>
> So
>
> curl -X POST -H "Content-Type: application/json" -d '{ "command":
> "lease4-get-all", "service": [ "dhcp4" ] }' http://127.0.0.1:8080 | jq
>
> should work
>
>
>
> --
> Sent from: http://kea-users.7364.n8.nabble.com/
> _______________________________________________
> Kea-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-users
>
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users