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

Add API Support #1

Open
robertlynch3 opened this issue May 19, 2023 · 3 comments
Open

Add API Support #1

robertlynch3 opened this issue May 19, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@robertlynch3
Copy link

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Add the ability to pull healthcheck directly from the API endpoint

Describe alternatives you've considered
None

Additional context
None

@robertlynch3 robertlynch3 added the enhancement New feature or request label May 19, 2023
@sergey-kalikin-adjust
Copy link

@robertlynch3 try
https://netbox.local/plugins/netbox_healthcheck_plugin/healthcheck/?format=json

@robertlynch3
Copy link
Author

robertlynch3 commented Mar 11, 2024

@sergey-kalikin-adjust that endpoint is behind Netbox's password, so you can't use the API token to get it.

@llamafilm
Copy link

I had the same request, but then I realized I can allow that endpoint by setting LOGIN_REQUIRED = False in configuration.py. For me this is safe because I run behind a secure reverse proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants