I defined the the output as outputs.prometheus_client and added the listener port;
however the telegraf service doesnt start; error 1067 the process terminated unexpectedly.
Installation method/version
Github / latest
Ansible Galaxy / 1.1.0
Ansible Version
2.8
<!--- Paste output from "ansible --version" -->
fatal: [vm-xxxxx]: FAILED! => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "Collects data using a series of plugins and publishes it toanother series of plugins.", "desktop_interact": false, "display_name": "Telegraf Data Collector Service", "exists": true, "msg": "Failed to start service 'Telegraf Data Collector Service (telegraf)'.", "name": "telegraf", "path": "C:\Telegraf\telegraf\telegraf.exe --config C:\Telegraf\telegraf\telegraf.conf --config-directory C:\Telegraf\telegraf_agent.d --service-name telegraf", "start_mode": "auto", "state": "stopped", "username": "LocalSystem"}
Targetted hosts
Concerns the following OS(es):
windows
Expected behavior
telegraf service to start after installing telegraf
Additional context
Describe the bug
I defined the the output as outputs.prometheus_client and added the listener port; however the telegraf service doesnt start; error 1067 the process terminated unexpectedly. Installation method/version
Ansible Version 2.8
fatal: [vm-xxxxx]: FAILED! => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "Collects data using a series of plugins and publishes it toanother series of plugins.", "desktop_interact": false, "display_name": "Telegraf Data Collector Service", "exists": true, "msg": "Failed to start service 'Telegraf Data Collector Service (telegraf)'.", "name": "telegraf", "path": "C:\Telegraf\telegraf\telegraf.exe --config C:\Telegraf\telegraf\telegraf.conf --config-directory C:\Telegraf\telegraf_agent.d --service-name telegraf", "start_mode": "auto", "state": "stopped", "username": "LocalSystem"}
Targetted hosts Concerns the following OS(es):
Expected behavior
telegraf service to start after installing telegraf Additional context
output changed from influx db to
[[outputs.prometheus_client]] listen = ":9273"
also windows event viewer shows: