Icinga / icingaweb2-module-vspheredb

The easiest way to monitor a VMware vSphere environment.
https://icinga.com/docs/vsphere/latest
GNU General Public License v2.0
100 stars 34 forks source link

Automatic action URLs or adding a link back to module vpheredb from `icingacli vspheredb check` based services #424

Open slalomsk8er opened 2 years ago

slalomsk8er commented 2 years ago

Expected Behavior

As discussed in https://github.com/Icinga/icingaweb2-module-vspheredb/issues/382#issuecomment-1264309189

Automatic action URLs are also a valid feature enhancement. I would prefer to have the Hook interpreting the executed Check Command, allowing those links to be generated without the need of placing them (or UUIDs) in the check output. Plan B is "something in the check output".

Currently Automatic action URLs are missing. I use the SQL import (obsoleted by https://github.com/Icinga/icingaweb2-module-vspheredb/issues/414) and shared Action URLs to archive this but a tighter out of the box experience for new users and a nicer representation would be desirable. Combined with https://github.com/Icinga/icingaweb2-module-vspheredb/issues/375 this would allow users to move back and forth between the modules without having to search.

Current Behavior

One needs to switch from service to host and click on the hook created by the monitoring integration or switch to the vspheredb module and search for the host.

Possible Solution

I would prefer to have the Hook interpreting the executed Check Command, allowing those links to be generated without the need of placing them (or UUIDs) in the check output. Plan B is "something in the check output".

I'm fine with that but open for other possibilities like a adding the same hook from the monitoring integration on the hosts also for the icingacli vspheredb check based services.

Thomas-Gelf commented 2 years ago

While #375 is still missing, this one should already be available. You go to Configuration -> Monitoring, define a specific assignment logic...

grafik

...and afterwards a link pointing to the related vSphereDB object (combined with some preview information) should show up in the monitoring module:

grafik

Going back (#375) still needs to be implemented, but will be based on this very same logic. Didn't this work for you, did you miss this feature - or did I misunderstand your feature request?

Thanks, Thomas

slalomsk8er commented 2 years ago

Yes, I use this feature (monitoring integration) but I also added action URLs back to the vSphereDB module from the services on the same host, that use the icingacli vspheredb check's as basis. This request is about putting the action URL or the same widget on services not just onto the host. Also it's not obvious that the widget (link pointing to the related vSphereDB object (combined with some preview information)) is clickable. I even think adding a dedicated and duplicated Action URL to the host would be nice as it would be consistent with other modules like the business impact link of the business process module.

Thomas-Gelf commented 2 years ago

Got it, thank you!

slalomsk8er commented 1 year ago

does this still need feedback?

Thomas-Gelf commented 1 year ago

No, it doesn't. I removed the flag, thank you!