-
Notifications
You must be signed in to change notification settings - Fork 642
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
Timeout definition for snmp_exporter #17
Comments
There's no such option currently, but I'd be happy to accept a PR. |
There's an option now, however it's not of too much use. The upstream library needs improvements in the timeout department, preferably by using contexts. |
The other option is to use the raw BulkGet calls that the library exposes, which would probably be simpler. |
We can how handle this like we do in the blackbox_exporter0 and get the timeout from |
The underlying snmp library needs better timeout handling first. |
gosnmp/gosnmp#203 will permit us to do this. |
When Prometheus times out the scrape and closes the http connection, this will now make the snmp walk stop. Fixes #17 Signed-off-by: Brian Brazil <[email protected]>
When Prometheus times out the scrape and closes the http connection, this will now make the snmp walk stop. Fixes #17 Signed-off-by: Brian Brazil <[email protected]>
When Prometheus times out the scrape and closes the http connection, this will now make the snmp walk stop. Fixes #17 Signed-off-by: Brian Brazil <[email protected]>
When Prometheus times out the scrape and closes the http connection, this will now make the snmp walk stop. Fixes #17 Signed-off-by: Brian Brazil <[email protected]>
While I can set a timeout for the scraping of the exporter, I can't set a timeout for when the snmp_exporter stops trying, internally. I can't seem to find an option within the exporter codebase, either.
Unless I am missing something, an option to have snmp_exporter jobs kill themselves after X time would be appreciated.
The text was updated successfully, but these errors were encountered: