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

prometheus-unifi-exporter: init at 0.4.0 #23718

Merged
merged 1 commit into from Mar 17, 2017
Merged

Conversation

bachp
Copy link
Member

@bachp bachp commented Mar 10, 2017

Motivation for this change

Allow monitoring of Ubiquity unifi access points via prometheus.
/cc @mdlayher

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@bachp, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @offlinehacker and @bjornfor to be potential reviewers.

Copy link
Contributor

@MostAwesomeDude MostAwesomeDude left a comment

Choose a reason for hiding this comment

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

Documentation nit.

type = types.bool;
default = false;
description = ''
Do not verify TLS certificate for UniFi Controller API.
Copy link
Contributor

Choose a reason for hiding this comment

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

If I enable this, does it cause verification to happen or not? The description could be more clear on this point.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point I will clarify the documentation on this.

@mdlayher
Copy link
Member

For what it's worth, I can't say I'd recommend packaging this exporter. It's something I've worked on in my spare time, but it doesn't do a good job of handling anything about UniFi APs, and there are probably more problems with switches and gateways that I haven't discovered yet.

I'm not familiar with NixOS, but I'd recommend that users who are interested just build it themselves. The "releases" only exist for my own configuration management.

@bachp
Copy link
Member Author

bachp commented Mar 10, 2017

@mdlayher I'm using the exporter to monitor my UniFi acces points and it works great so far. I think you did good work and if it doesn't work for somebody chances are that people will contribute and improve the exporter. Also I mainly packaged it because I need it and if it is available via nixpkgs it's just easier for my setup ;)

@mdlayher
Copy link
Member

Makes sense. I happily welcome contributions!

@bachp
Copy link
Member Author

bachp commented Mar 10, 2017

@MostAwesomeDude Documentation clarified

Copy link
Contributor

@MostAwesomeDude MostAwesomeDude left a comment

Choose a reason for hiding this comment

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

LGTM

@globin globin merged commit 3728143 into NixOS:master Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants