Coder Social home page Coder Social logo

Comments (5)

AyeYessir avatar AyeYessir commented on June 9, 2024

Could be as easy as adding: "curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0);"

from influxdb-slurm-monitoring.

cfenoy avatar cfenoy commented on June 9, 2024

Hi @AdamCarlson84 , this would need to be requested to SchedMD as they are the ones supporting this plugin now, and I'm not sure if this repo is up to date with the version shipped with Slurm. As the change is relatively simple you can just send them the patch.
What is exactly failing for you? Are you using self-signed certificates for your InfluxDB server?

from influxdb-slurm-monitoring.

AyeYessir avatar AyeYessir commented on June 9, 2024

Hey! Yep, the code is different now. I found it and already made a pull request for them through there. Yes, it is a self signed cert. If I recall correctly, every attempt to send data was resulting in a TLS negotiation failure; so the data was getting to the host and then being rejected.

from influxdb-slurm-monitoring.

cfenoy avatar cfenoy commented on June 9, 2024

@AdamCarlson84 , I'm not sure if disabling the SSL verification by hardcoding it into the code is the right approach. Couldn't you get a properly signed certificate or add your CA to your Influx clients? (Let's encrypt may be a good option)

from influxdb-slurm-monitoring.

AyeYessir avatar AyeYessir commented on June 9, 2024

Hmmmm, well my exact error is "TLS handshake error from IP:PORT: remote error: tls: unknown certificate".... we are working on getting away from self signed certs, but aren't there yet. And I need stats! Perhaps an option to disable in the config is better than just a blanket check?

from influxdb-slurm-monitoring.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.