sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
408 stars 149 forks source link

Active filters are forgotten when clicking links in Home view #1388

Open toreanderson opened 2 months ago

toreanderson commented 2 months ago

Describe the bug

When the Home page is viewed with a filter active, e.g., by clicking Notifications or the Unhandled Service Problems header, the filter is forgotten.

Thruk Version

Version Thruk 3.16 OMD OMD 5.40-labs-edition

To Reproduce

  1. Visit the demo page with a filter active - in this case Host = naemon1. (Username/password = test/test.)
  2. Click on a widget header, e.g., Notifications. The link goes to https://demo.thruk.org/demo/thruk/cgi-bin/notifications.cgi - note how the original filter is no longer applied
  3. Observe how the notifications view now include notifications for the naemon0 host

Expected behavior

The filter should have been kept.

Screenshots

Don't think it is necessary?

Desktop (please complete the following information):

Additional context

This makes the Home page less useful in large installations, where filtering is essential to only see the things relevant to you, because following the links does not drill down into the problems reported. Instead what you were interested in drilling down into is drowning in a lot of uninteresting noise.

sni commented 2 months ago

so far this was not intended but sounds like a useful enhancement.