<div dir="ltr">Hello,<div><br></div><div>Thanks for the suggestion, unfortunately it doesn't seem to work either :(</div><div><br></div><div> curl -X POST -H "Content-Type: application/json" -d '{ "command": "lease4-get-all", "service": [ "dhcp4" ]}' <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a> | jq<br> % Total % Received % Xferd Average Speed Time Time Time Current<br> Dload Upload Total Spent Left Speed<br>100 122 100 68 100 54 53042 42121 --:--:-- --:--:-- --:--:-- 68000<br>[<br> {<br> "result": 1,<br> "text": "no current lease manager is available"<br> }<br>]<br></div><div><br></div><div>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 <br>$lease4_get_all (callout address 0x7f172e322b40) (callout duration 0.086 ms)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Mar 2020 at 08:16, TroYy <<a href="mailto:modo555@gmail.com">modo555@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It seems that you must include "service" which you want to be asked<br>
<br>
So<br>
<br>
curl -X POST -H "Content-Type: application/json" -d '{ "command":<br>
"lease4-get-all", "service": [ "dhcp4" ] }' <a href="http://127.0.0.1:8080" rel="noreferrer" target="_blank">http://127.0.0.1:8080</a> | jq<br>
<br>
should work<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://kea-users.7364.n8.nabble.com/" rel="noreferrer" target="_blank">http://kea-users.7364.n8.nabble.com/</a><br>
_______________________________________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>