Rick Henry
92ef10c22b
Add notification badges for disabled active checks
...
We mistakenly disabled active checks in our Icinga environment and did
not notice for some time. This commit hooks into the badge mechanic used
when notifications are turned off, and also provides badges when active
host checks and active service checks are disabled.
2020-11-22 21:18:08 +00:00
Johannes Meyer
c1bb17709a
Navigation\Action: Don't try to resolve non existing urls
...
fixes #4211
2020-11-16 13:21:16 +01:00
Johannes Meyer
3f2a2fa984
Action: Only create an `Url` object once macros are resolved
...
refs #3829
2019-06-25 09:08:04 +02:00
Eric Lippmann
ca803e8f05
Fix monitoring health badge if programstatus has never been set
2017-11-22 11:12:24 +01:00
Eric Lippmann
a9f3f99049
Don't hide errors in the BackendAvailabilityNavigationItemRenderer
...
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:35:40 +02:00
Eric Lippmann
439d78a982
Don't hide errors in the MonitoringBadgeNavigationItemRenderer
...
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:31:10 +02:00
Eric Lippmann
28790d254b
Remove caching form the MonitoringBadgeNavigationItemRenderer
...
Caching will be no longer necessary because we will replace the queries used to fetch the problem badges.
2017-07-27 11:29:57 +02:00
Eric Lippmann
c0d359fbbd
Fix base class of MonitoringBadgeNavigationItemRenderer
...
The MonitoringBadgeNavigationItemRenderer extended the SummaryNavigationItemRenderer before which does not make sense because they have nothing in common.
2017-07-27 09:33:44 +02:00
Eric Lippmann
f53eb48e38
Show hint if notifications are disabled globally
...
resolves #11792
2016-12-08 10:40:22 +01:00
Eric Lippmann
4f77cce7a9
Cache count in MonitoringBadgeNavigationItemRenderer
2016-12-08 10:40:22 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Johannes Meyer
7c6471da86
Action: Return the new url if it has been resolved
...
This was already part of the 2.0 release, but was working however. Got
revealed by a restructuring commit a few weeks ago.
fixes #10702
2015-11-23 10:34:46 +01:00
Johannes Meyer
6a68d25bc3
MonitoredObject: Deprecate method matches()
...
It's now possible to achieve the same by passing the object directly to a
filter.
refs #10304
2015-10-05 14:04:40 +02:00
Johannes Meyer
bf4e492fa1
Action: Accept and apply option "filter"
...
refs #5600
2015-09-17 11:00:40 +02:00
Johannes Meyer
7d167d0191
Action: Do not fail if no url is set
...
refs #5600
2015-09-07 12:00:35 +02:00
Johannes Meyer
860edb9768
Add class Action
...
refs #5600
2015-09-07 10:53:44 +02:00
Johannes Meyer
7a5dceac7b
monitoring: Adjust custom navigation renderer for DataView badges
...
refs #5600
2015-09-04 13:50:53 +02:00
Johannes Meyer
a96bead01b
monitoring: Adjust custom navigation renderer for backend availability checks
...
refs #5600
2015-09-04 13:49:54 +02:00
Johannes Meyer
398f3ef413
monitoring: Move custom navigation renderers to the correct namespace
...
refs #5600
2015-09-04 13:46:23 +02:00