foreman_monitoring icon indicating copy to clipboard operation
foreman_monitoring copied to clipboard

Add a monitoring tab on the modern host details page

Open ekohl opened this issue 1 year ago • 4 comments

This first introduces a REST API to get the monitoring results for a host. That is then shown as a tab on the host details page.

I debated a card in the details tab, but this leaves space for more complex items, such as downtime selection.

Some review needs to be done on the exact representation. I chose for a simple table, but perhaps we want to show more columns that also indicates downtime and acknowledgements.

ekohl avatar Dec 22 '23 18:12 ekohl

I appreciate the review. This really was me trying to figure all this stuff out by reading existing code. I'll try to get back to it after the holidays

ekohl avatar Dec 25 '23 13:12 ekohl

For which hosts is this shown? I would expect, that it is only shown for monitored hosts?

sbernhard avatar Dec 28 '23 10:12 sbernhard

For which hosts is this shown? I would expect, that it is only shown for monitored hosts?

The tab is shown for all hosts, but the table with services is only rendered if there's a monitoring proxy assigned.

ekohl avatar Dec 28 '23 13:12 ekohl

For which hosts is this shown? I would expect, that it is only shown for monitored hosts?

The tab is shown for all hosts, but the table with services is only rendered if there's a monitoring proxy assigned.

Would it be possible to hide it for hosts, which are not monitored?

sbernhard avatar Dec 28 '23 13:12 sbernhard