-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow alternative URLs for Hosts/Services #3
Comments
Thanks for the feedback! The URLs are rendered here, where the hardcoded path you describe can be found: https://github.com/hudson-trading/netbox-nagios/blob/main/netbox_nagios/templates/device_nagios_box.html. I don't see any reason the path and query params wouldn't be able to be configurable. We would accept a PR if you'd like to submit one. |
Hi we are also using check_MK think it´s very popular regarding network monitoring. and here when I click on the go to nagios btton in netbox http://chekmk/nagios/cgi-bin/status.cgi?host=SSTO153CIS I sit possible you can help us here ? |
I would like to join the topic. For example, we use icinga2 and would also like to use this plugin here. So a customizable link would be usable for several different monitoring tools. |
Hi, so can you add this feature for more broader integration for this plugin |
Any Reply from the admin? |
I'm fairly busy with other things right now, not sure when I can get around adding this feature. But I'll be more than happy to review a PR if anybody else wants to contribute. |
Hello. I just tried to change the plugin a bit. I was successful. I made the following adjustments to call up the live status of icinga2. device_nagios_buttons.html change to
device_nagios_box.html change
to
change to
confoguration.py
I tried using the livestatus_port option. unfortunately this didn't work. So I redirected the default port 6557 to port 6666 from Icinga2. I hope it helps you further. |
Not all nagios-based monitoring systems which has livestatus available is utilizing the hardcoded URL to get access to the object. Please consider adding a configurable "status.cgi?host= addresses" and likewise for services.
As a sample, I'm using Check_MK which renders the URLs as follows:
Hosts:
https://monitoringhost/site/check_mk/index.py?start_url=view.py%3Ffilled_in%3Dfilter%26host%3D**hostname**%26view_name%3Dhost
Services:
https://monitoringhost/site/check_mk/index.py?start_url=view.py%3Fhost%3D**hostname**%26service%3D**service**%26view_name%3Dservice
The text was updated successfully, but these errors were encountered: