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

Log Warning or Error in Influxdb? #631

Closed
qindj opened this issue Feb 2, 2016 · 3 comments
Closed

Log Warning or Error in Influxdb? #631

qindj opened this issue Feb 2, 2016 · 3 comments

Comments

@qindj
Copy link

qindj commented Feb 2, 2016

Dears:

Does telegraf have the ability to write plugins' errors in influxdb?

For example, i'm using SNMP input plugin ,when a host is offline, it shows me "Error in input [snmp]: Error reading from UDP xxxxx" , can this error message be wrote into influxdb?

thanks and regards!

@sparrc
Copy link
Contributor

sparrc commented Feb 3, 2016

It could be, why do you want it?

@qindj
Copy link
Author

qindj commented Feb 4, 2016

With that function, I can wrote errors into influxdb for example "error_logs", and use kapacitor to catch and alert

@sparrc
Copy link
Contributor

sparrc commented Feb 4, 2016

I think this would be better as a use-case for a logstreamer input plugin #102

@sparrc sparrc closed this as completed Feb 4, 2016
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