-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
JTI Plugin - TLS Connectivity issue #4899
Comments
Can you try again with |
For troubleshooting purposes we disabled TLS and confirmed we can connect to the router with Telegraf. We put the port back to 50051 and re-enabled TLS and below is the debug output from Telegraf. (We commented out the username and password from the telegraf.conf file.)
|
When we uncomment out the username and password file this is the output we get:
|
@mohsin106 can you try that last test with this build If you need something other than a linux amd64 build, let me know what OS/architecture you're using |
I'm using centos 7. I tried using v1.9 and getting the same results: With username/password commented out in telegraf.conf file:
With username and password un-commented out in telegraf.conf file:
|
It actually appears the new binary wasn't used for that test. Can you try installing the new rpm @mohsin106 |
I believe I'm still getting the same error: /etc/telegraf # telegraf --version /etc/telegraf # yum info telegraf
/etc/telegraf # telegraf --debug set |
The hash in the version ( |
Thank you! I believe you fixed it. I am now seeing a session established and data flowing from the router and into my InfluxDB. |
Sorry I forgot to post the output of the plugin before it starts streaming the data. Here it is: /etc/telegraf # telegraf --debug set |
That binary didn't contain a fix, but just proper logging so we could become aware of why the login failed. Glad you were able to resolve this |
Hi Glinton, /etc/telegraf # telegraf --debug set |
Also is there an official Docker image of Telegraf v1.9 available or a PR? |
Telegraf 1.9 has yet to be released, but you can use a nightly build. Regarding not using a TLS certificate file, it appears that is required by the client library we are using. There appears to be another way by using a |
@glinton I work with mohsin. Do you have a private branch with those fix in? Would it be possible to either get a docker image or OSX build? Thanks. Trying to test a few different things. |
We included the logging fix in the 1.8.3 release earlier this week. We don't currently do builds for OSX (#4801), but you can get the docker image from docker hub. |
Hi, I'm seeing the following error when trying to implement a TLS session to my Juniper Router:
Could not initiate login check for 10.10.10.10:32767
Telegraf.conf:
If I comment out the username/password then I see the normal logs but it just sits there:
I also tried putting "https://10.10.10.10:32767" in server field inside the inputs sections but that did not help either.
Thank you.
The text was updated successfully, but these errors were encountered: