API add_device - "error cURL error 7: Failed to connect to 127.0.0.1 port 8888..."

I always get an error when I try to add a new device, but device gets added. Is there a way not to get this error?

curl -X POST -H "X-Auth-Token: ************" \
--data-raw '
{
        "hostname": "NewDevice",
        "version": "v2c",
        "community": "************"
}
' \
http://10.255.255.20/api/v0/devices
{
    "status": "error",
    "message": "cURL error 7: Failed to connect to 127.0.0.1 port 8888: Connection refused (see https:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html) for http:\/\/127.0.0.1:8888\/reload.json"
}%                  

This one appears to be from Oxidized, are the LibreNMS integration settings with Oxidized correct?

In the integration settings, it is enabled to load the host list whenever a host is added.

Santiago, my issue is now fixed. Thank you very much!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.