-
Notifications
You must be signed in to change notification settings - Fork 12
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
Output is being truncated even output_truncate: -1 is set #30
Comments
When the output is truncated, does it end with ssh_exporter/collector/collector.go Lines 267 to 271 in bdea915
If the truncated output does not contain the FWIW this exporter is designed to validate SSH is healthy and the output is intended to validate that SSH login was successful, ie execute |
With this config (trying to get full config from a switch) for each execution the length of the output is different, sometimes outputs everything and sometimes output is truncated
modules:
show_full_config:
user: XXX
password: XXX
command: "show run view full | begin Current"
timeout: 60
output_metric: true
output_truncate: -1
using last version 1.5.0
The text was updated successfully, but these errors were encountered: