Skip to main content

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, e.g. https://netbox.local/healthcheck. It allows monitor conditions via HTTP(S), with responses available in HTML and JSON formats.

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox-healthcheck-plugin-0.1.4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file netbox-healthcheck-plugin-0.1.4.tar.gz.

File metadata

File hashes

Hashes for netbox-healthcheck-plugin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b5bba793f72448318f0802a5cb0661213225d0c6a35d212047a169e2f2e275a5
MD5 864372721569b70217d168732bcc92b9
BLAKE2b-256 6c05042291a9be909b531f5ce71bed7f9b6f777ff906a5dc23a1f5d6c5ebe8f5

See more details on using hashes here.

File details

Details for the file netbox_healthcheck_plugin-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_healthcheck_plugin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 28839269f14470603028452d57616ebec0f8b1b3d8575b90b286c9b93aec9542
MD5 982ecaaf49da1b5c88dfd8ebfab1a4cb
BLAKE2b-256 81a3521de85c96f61805733879363d2429906aaa577d6d6970a933f7a57c7d7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page