NetBox plugin for HealthCheck.
Project description
NetBox HealthCheck Plugin
NetBox plugin for HealthCheck.
NetBox provides health check monitors that can be queried to make sure that the service is running in good condition.
NetBox exposes metrics at the /healthcheck
HTTP endpoint under the plugin, e.g. https://netbox.local/plugins/netbox_healthcheck_plugin/healthcheck/
. It allows monitor conditions via HTTP(S), with responses available in HTML and JSON formats.
- Free software: Apache-2.0
- Documentation: https://netbox-community.github.io/netbox-healthcheck-plugin/
Features
The features the plugin provides should be listed here.
Compatibility
NetBox Version | Plugin Version |
---|---|
3.4 - 3.7 | 0.1.0 |
3.4 - 3.7 | 0.1.2 |
3.4 - 3.7 | 0.1.3 |
4.0. | 0.2.0 |
Installing
For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.
While this is still in development and not yet on pypi you can install with pip:
pip install git+https://github.com/netbox-community/netbox-healthcheck-plugin
or by adding to your local_requirements.txt
or plugin_requirements.txt
(netbox-docker):
git+https://github.com/netbox-community/netbox-healthcheck-plugin
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py
,
or if you use netbox-docker, your /configuration/plugins.py
file :
PLUGINS = [
'netbox_healthcheck_plugin'
]
PLUGINS_CONFIG = {
"netbox_healthcheck_plugin": {},
}
Setting up Monitoring
NetBox makes use of the django-health-check library, more information on setting up monitors can be found at Setting up Monitoring:
Credits
Based on the NetBox plugin tutorial:
This package was created with Cookiecutter and the netbox-community/cookiecutter-netbox-plugin
project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netbox_healthcheck_plugin-0.2.0.tar.gz
.
File metadata
- Download URL: netbox_healthcheck_plugin-0.2.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2fbe5b1bde0b1759a44bdd8c4cca654c7f5e91c78312e722bf19e1ea973ebdd |
|
MD5 | 30dc9560680b596dfeeba7813166b7ae |
|
BLAKE2b-256 | dba2cad607e8fe2aa290df9f307e094d1b6d8d7c250d8fe2b149a1670f143532 |
File details
Details for the file netbox_healthcheck_plugin-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: netbox_healthcheck_plugin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73a1965f232845238a9fdd416186c9ce6bbc2898a69a65c8b0e530a714ee43f0 |
|
MD5 | dc309210e10e91e9a8f898f8b796999f |
|
BLAKE2b-256 | 8ae42cb5436a4a0b7e2881dda3706199088622e15ea9d88d02a0441ee4ea4dc8 |