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

Issue with InfluxDB ping-auth-enabled configuration #6

Open
xtvdata opened this issue Jul 8, 2021 · 1 comment
Open

Issue with InfluxDB ping-auth-enabled configuration #6

xtvdata opened this issue Jul 8, 2021 · 1 comment

Comments

@xtvdata
Copy link

xtvdata commented Jul 8, 2021

When the InfluxDB configuration related to ping-auth-enabled is true the script cannot ping the database.

Ref. InfluxDB config:

  # Enables authentication on the /ping, /metrics, and deprecated /status
  # endpoints. This setting has no effect if auth-enabled is set to false.
  ping-auth-enabled = true
@corgan2222
Copy link
Owner

hmm, yes i see. Its not really clear to me, how to auth for a ping.

i just call curl -is and show the header response

pingDB(){

as a check, if the url is correct or the server is reachable.

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