Skip to main content

NetBox HealthCheck Plugin

A NetBox plugin that provides comprehensive health monitoring for your NetBox installation.

Version Python Versions License

Features

This plugin integrates django-health-check with NetBox to provide health monitoring of critical services:

  • Database - PostgreSQL connectivity and operations
  • Cache - Django cache framework (Redis-backed)
  • Redis Instances - Both caching and task queue Redis connections
  • Extensible - Add custom health checks via configuration

Health status is exposed at /plugins/netbox_healthcheck_plugin/healthcheck/ with both HTML and JSON response formats for integration with monitoring systems.

Installation

pip install netbox-healthcheck-plugin

Add to your NetBox configuration.py:

PLUGINS = ['netbox_healthcheck_plugin']

PLUGINS_CONFIG = {
    "netbox_healthcheck_plugin": {}
}

Restart NetBox and visit: https://your-netbox/plugins/netbox_healthcheck_plugin/healthcheck/

Compatibility

NetBox Version Plugin Version Python Version
4.5 - 4.7 0.4.0 3.12, 3.13, 3.14
4.5 - 4.6 0.3.0 3.12, 3.13, 3.14
4.0 - 4.4 0.2.0 3.10, 3.11, 3.12
3.4 - 3.7 0.1.x 3.10, 3.11, 3.12

See COMPATIBILITY.md for detailed version information.

Configuration

Customize which health checks run via PLUGINS_CONFIG:

PLUGINS_CONFIG = {
    "netbox_healthcheck_plugin": {
        "checks": [
            "health_check.Database",
            "health_check.Cache",
            "netbox_healthcheck_plugin.backends.redis.NetBoxRedisCacheHealthCheck",
            "netbox_healthcheck_plugin.backends.redis.NetBoxRedisTasksHealthCheck",
        ]
    }
}

You can add custom health checks or disable specific checks. See the Configuration Guide for more options.

Documentation

Full documentation is available at: https://netbox-community.github.io/netbox-healthcheck-plugin/

Development

Tests run inside a NetBox checkout using NetBox's test runner, with this repo's testing/configuration.py (see AGENTS.md for the full setup):

pip install -e '.[dev,test]'
export NETBOX_CONFIGURATION=configuration PYTHONPATH="$PWD/testing"
python /path/to/netbox/netbox/manage.py test netbox_healthcheck_plugin.tests

pre-commit install           # lint/format hooks (ruff, djlint, codespell, yamllint)
pre-commit run --all-files

Support

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Metadata

Release files for netbox-healthcheck-plugin 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-healthcheck-plugin 0.4.0
File Size Uploaded
netbox_healthcheck_plugin-0.4.0.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netbox-healthcheck-plugin 0.4.0
File Interpreter ABI Platform
netbox_healthcheck_plugin-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.9 kB

Release files / netbox_healthcheck_plugin-0.4.0.tar.gz

Download URL netbox_healthcheck_plugin-0.4.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d3f97606be8ddbaad87b299deefffa52204f85db0faff2ff21d1039483db889a
BLAKE2b-256 checksum
How to use checksums
ada5805ae4f61839ad0837137b50c0ff064a716de4f43900ba12a48bf00d4017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / netbox_healthcheck_plugin-0.4.0-py3-none-any.whl

Download URL netbox_healthcheck_plugin-0.4.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cc1fd139a7e6a221c812a06ca651f20af2d28bcd869d88a3e263c7f7a54ee33
BLAKE2b-256 checksum
How to use checksums
1fda76619e091058117d0c005e7d50791aec6969f8bb4271a681d6a07fe69c8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page