-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Integrate healthcheck in netbox #8831
Comments
We're going to need a more substantial explanation of the use case here, especially if the proposal is to introduce a new dependency. Please elaborate on the specific features you'd like to see and why. |
I'm not the original issue creator, but I want to throw my hat into the ring. As it currently stands, there is no way of knowing whether netbox can accept requests, beyond a tcp socket being open. That doesn't inspire much confidence in the application, regardless of it's actual state. Please implement this, if you have the time :3 |
Hello I have updated the description of the use case |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide. |
Hey, This feature would be great to monitor the status of the netbox and their dependencies. In our setup sometimes we have connection issues. But it's hard to say where this issues comes from. With this feature we could simply see if its any failure of the netbox setup or other network elements. |
We discussed this a bit more in today's maintainers meeting, and the consensus was that a plugin would be a slightly better fit. The primary rationale for this decision was that some subset of users inevitably will want to disable the functionality, and our approach to date of providing a toggle in the form of a configuration parameter is something of an anti-pattern. Packaging this as a plugin (which is now possible in v3.4 per #9880) has the advantage of allowing users to introduce the new functionality as desired. It might also prompt heightened interested versus a core feature, as plugins are much more accessible to the casual contributor. @arthanson are you still volunteering to own the plugin creation? |
@jeremystretch Continuing from #10825 I'm working on a helm chart, for TrueNAS Scale catalog. Healthchecks are needed for:
It does not have to be an http endpoint. Healthcheck should be available for worker as well. For housekeeper, I don't think currently there is a way to health check it. |
We added some health checks into the docker-compose.yml in the last release. |
Closing as completed a healthcheck plugin: https://github.com/netbox-community/netbox-healthcheck-plugin please add any feature requests or issues there. |
NetBox version
v3.1.9
Feature type
New functionality
Proposed functionality
In order to improve the monitoring of the netbox infrastructure key components we may be able to leverage the app django-health-check
Using a dedicated url https://netbox.fqdn/healthcheck we will be able to perform health checks in the applications required to run netbox and eventually its monitoring.
We should be able to check:
other relevant metrics
Use case
Adding a healthcheck endpoint that is able to validate the status of the database , Nginx service and redis service will provide the necessary information required by admins to confirm that the service is running in good condition
This is of particular relevance within distributed environment like kubernettes
The information provided in this endpoint can be then consumed via api. Relevant values can be
Database changes
No response
External dependencies
_No response_is
The text was updated successfully, but these errors were encountered: