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

Use the Prometheus exporter-toolkit #13

Closed
wants to merge 1 commit into from

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Dec 28, 2021

Use the Prometheus exporter-toolkit web package to handle TLS and basic
auth configuration.

Signed-off-by: SuperQ superq@gmail.com

@DaAwesomeP
Copy link

Hey @DRuggeri, just checking on this oull. Should it be updated to the latest exporter-toolkit verison?

@otakup0pe
Copy link

Stumbling across this looking into an thing where the exporter does not seem to do any verification of client tls certs. Pretty sure that the exporter toolkit handles that fine.

Use the Prometheus exporter-toolkit web package to handle TLS and basic
auth configuration.

Signed-off-by: SuperQ <superq@gmail.com>
Copy link

@DaAwesomeP DaAwesomeP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SuperQ looks like the Go version needs to be updated for some CI steps.

@SuperQ
Copy link
Contributor Author

SuperQ commented Mar 17, 2023

Yea, I need to double check this patch.

I don't actually use NUT anymore, so I have no way to test this.

@DaAwesomeP
Copy link

I don't actually use NUT anymore, so I have no way to test this.

Assuming you still have it installed somewhere there is the dummy UPS for testing: https://networkupstools.org/docs/man/dummy-ups.html I have used it a few times specifically to test monitoring/alerts.

@otakup0pe
Copy link

I don't actually use NUT anymore, so I have no way to test this.

I'm down to test on my home lab setup ...

@DaAwesomeP
Copy link

@otakup0pe CI build is not working yet but if you checkout @SuperQ's branch SuperQ:exporter-toolkit then you should be able to build and test it.

@DRuggeri
Copy link
Owner

DRuggeri commented Mar 25, 2023

Recently my suggestion to enhance the toolkit was rejected which leaves this exporter in a difficult spot: implement a breaking change for users (some CLI arguments and env variables that work today would no longer work).

Happy to take a look at #32 since that may be a bug or gap, but I don't wish to force a breaking change on users without some sort of clear benefit to them.

@SuperQ
Copy link
Contributor Author

SuperQ commented Mar 25, 2023

Anyway, sorry, I don't have time to complete this work. I don't use NUT anymore, so not much interest in more work here.

@SuperQ SuperQ closed this Mar 25, 2023
@DRuggeri
Copy link
Owner

@otakup0pe and @DaAwesomeP - FYI, this still lives in branch PR-13

I'll fold these updates in to add support for TLS client auth as mentioned in #32 but have a PR out to improve doco on the toolkit before including

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

Successfully merging this pull request may close these issues.

None yet

4 participants