Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus #7442

Closed
rguptarg opened this issue Apr 30, 2020 · 3 comments
Closed

prometheus #7442

rguptarg opened this issue Apr 30, 2020 · 3 comments

Comments

@rguptarg
Copy link

Hi,

is there any way, telegraf can read promethus data and forward to influxDB ?

We can't use promethus read/write

@danielnelson
Copy link
Contributor

Have you tried the prometheus input?

@rguptarg
Copy link
Author

rguptarg commented May 4, 2020

Hi,

I have tried prometheus input plugin,

Whenever I have used below config, it's working fine and sending all system related data to InfluxDB.
[[inputs.prometheus]]
urls = ["http://localhost:9101/metrics"]

But with below configuration, it's given error, so please help to fix this problem :

[[inputs.prometheus]]
kubernetes_services = ["http://node-exporter.openshift-monitoring:9100/metrics"]
monitor_kubernetes_pods = true

Error
May 04 18:41:44 xxx-xx-master01 systemd[1]: Failed to start The plugin-driven server agent for reporting metrics into InfluxDB.

@danielnelson
Copy link
Contributor

You should check the logs from Telegraf for clues, on most systems these get sent to /var/log/syslog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants