hi all
we are using our own dhcp but getting constant dhcp status error log

here is the log file
*tail -f /usr/local/pf/logs/pfstats.log*

Jan 6 14:43:06 pfnac pfstats[9306]: t=2021-01-06T14:43:06+0530 lvl=warn
msg="Unhandled response type from GET /api/v1/dhcp/stats" pid=9306
Jan 6 14:43:16 pfnac pfstats[9306]: t=2021-01-06T14:43:16+0530 lvl=info
msg="Calling Unified API on uri: https://127.0.0.1:9999/api/v1/queues/stats";
pid=9306
Jan 6 14:43:23 pfnac pfstats[9306]: t=2021-01-06T14:43:23+0530 lvl=info
msg="Calling Unified API on uri: https://127.0.0.1:9999/api/v1/queues/stats";
pid=9306
Jan 6 14:43:31 pfnac pfstats[9306]: t=2021-01-06T14:43:31+0530 lvl=info
msg="Calling Unified API on uri: https://127.0.0.1:9999/api/v1/dhcp/stats";
pid=9306
Jan 6 14:43:31 pfnac pfstats[9306]: t=2021-01-06T14:43:31+0530 lvl=warn
msg="Compile error '$.items[*].network.free, $.items[*].free' parse error
from GET /api/v1/dhcp/stats: Expected Type to be a Map." pid=9306
Jan 6 14:43:31 pfnac pfstats[9306]: t=2021-01-06T14:43:31+0530 lvl=warn
msg="Unhandled response type from GET /api/v1/dhcp/stats" pid=9306
Jan 6 14:43:36 pfnac pfstats[9306]: t=2021-01-06T14:43:36+0530 lvl=info
msg="Calling Unified API on uri: https://127.0.0.1:9999/api/v1/queues/stats";
pid=9306
Jan 6 14:43:38 pfnac pfstats[9306]: t=2021-01-06T14:43:38+0530 lvl=info
msg="Calling Unified API on uri: https://127.0.0.1:9999/api/v1/dhcp/stats";
pid=9306
Jan 6 14:43:38 pfnac pfstats[9306]: t=2021-01-06T14:43:38+0530 lvl=warn
msg="Compile error '$.items[*].network, $.items[*].percentfree' parse error
from GET /api/v1/dhcp/stats: Expected Type to be a Map." pid=9306
Jan 6 14:43:38 pfnac pfstats[9306]: t=2021-01-06T14:43:38+0530 lvl=warn
msg="Unhandled response type from GET /api/v1/dhcp/stats" pid=9306
*if i do curl http://127.0.0.1:22222/api/v1/dhcp/stats
<http://127.0.0.1:22222/api/v1/dhcp/stats>*

i get result
{"items":null,"status":"200"}

but still get error
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to