Skip to content

Commit 835e520

Browse files
committed
merge fixes
1 parent 64a68a3 commit 835e520

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
environment:
3939
name: pypi
40-
url: https://pypi.org/p/{{ cookiecutter.hyphenated }}
40+
url: https://pypi.org/p/netbox-healthcheck-plugin
4141
permissions:
4242
id-token: write # IMPORTANT: mandatory for trusted publishing
4343

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
## 0.1.2 (2024-04-05)
44

5+
* General cleanup
6+
7+
## 0.1.0 (2023-01-18)
8+
59
* First release on PyPI.
10+

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
NetBox plugin for HealthCheck.
44

5+
NetBox provides health check monitors that can be queried to make sure that the service is running in good condition.
6+
7+
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.
58

69
* Free software: Apache-2.0
710
* Documentation: https://netbox-community.github.io/netbox-healthcheck-plugin/
@@ -15,7 +18,8 @@ The features the plugin provides should be listed here.
1518

1619
| NetBox Version | Plugin Version |
1720
|----------------|----------------|
18-
| 3.4 | 0.1.0 |
21+
| 3.4 - 3.7 | 0.1.0 |
22+
| 3.4 - 3.7 | 0.1.2 |
1923

2024
## Installing
2125

@@ -39,14 +43,18 @@ Enable the plugin in `/opt/netbox/netbox/netbox/configuration.py`,
3943

4044
```python
4145
PLUGINS = [
42-
'HealthCheck'
46+
'netbox_healthcheck_plugin'
4347
]
4448

4549
PLUGINS_CONFIG = {
46-
"HealthCheck": {},
50+
"netbox_healthcheck_plugin": {},
4751
}
4852
```
4953

54+
## Setting up Monitoring
55+
56+
NetBox makes use of the [django-health-check](https://github.com/revsys/django-health-check) library, more information on setting up monitors can be found at [Setting up Monitoring](https://django-health-check.readthedocs.io/en/latest/readme.html#setting-up-monitoring):
57+
5058
## Credits
5159

5260
Based on the NetBox plugin tutorial:

0 commit comments

Comments
 (0)