I running a fresh install of Ubuntu and have installed influxDb and telegraf using the online tutorials.
For some reason I cannot get telegraf to start?
ubuntu@ubuntu-virtual-machine:~$ sudo systemctl start telegraf
ubuntu@ubuntu-virtual-machine:~$ sudo systemctl status telegraf
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2018-03-19 19:12:02 GMT; 8s ago
Docs: GitHub - influxdata/telegraf: The plugin-driven server agent for collecting & reporting metrics.
Process: 4272 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf
Main PID: 4272 (code=exited, status=1/FAILURE)
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: telegraf.service: Unit entered failed state.
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: telegraf.service: Failed with result ‘exit-code’.
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: telegraf.service: Service hold-off time over, scheduling restart.
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: Stopped The plugin-driven server agent for reporting metrics into Inf
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: telegraf.service: Start request repeated too quickly.
Mar 19 19:12:02 ubuntu-virtual-machine systemd[1]: Failed to start The plugin-driven server agent for reporting metrics
Is there anyway of finding out why? Or reinstalling telegraf?