netbox-community / netbox-healthcheck-plugin

Apache License 2.0
21 stars 8 forks source link

404 error #9

Closed llamafilm closed 7 months ago

llamafilm commented 10 months ago

NetBox version 3.7.0

According to the readme file:

NetBox exposes metrics at the /healthcheck HTTP endpoint, e.g. https://netbox.local/healthcheck.

But this endpoint returns 404 error.

image

The /plugins/netbox_healthcheck_plugin/healthcheck/ endpoint works correctly, so I believe this is a bug in the README.

image
abhi1693 commented 10 months ago

This is not a bug. If you want a separate endpoint, please open an FR instead, although I'm not sure if that would be accepted as plugins reside within the plugins namespace and I dont believe NetBox allows to override this behaviour.

llamafilm commented 10 months ago

According to the readme file:

NetBox exposes metrics at the /healthcheck HTTP endpoint, e.g. https://netbox.local/healthcheck.

olekgo commented 9 months ago

Yes, this is confusing - the readme is incorrect, as it's true that plugins reside within the plugins namespace and it doesn't look like this behaviour can be overridden without (monkey) patching netbox itself.

arthanson commented 7 months ago

updated readme