I'm trying to use the datadog api but the initialize method keeps giving the error 'INFO No agent or invalid configuration file found'.
The datadog agent is running:
(PYTHON) daphnepaparis@Daphnes-MBP-2 ~ $ /usr/local/bin/datadog-agent status Datadog Agent (supervisor) is running all child processes
And the configuration file permissions look alright:
(PYTHON) daphnepaparis@Daphnes-MBP-2 ~ $ ls -l ~/.datadog-agent/datadog.conf lrwxr-xr-x 1 daphnepaparis staff 35 Mar 22 12:58 /Users/daphnepaparis/.datadog-agent/datadog.conf -> /opt/datadog-agent/etc/datadog.conf
Original commands I'm running:
In [1]: from datadog import initialize, api
In [2]: options = {'api_key': '***'}
In [3]: initialize(**options)
2017-03-22 13:24:20 INFO No agent or invalid configuration file found
Anyone able to help?