157 Commits

Author SHA1 Message Date
Johannes Meyer
6085b02b16 monitoring: Introduce new class CustomVarTable 2022-03-02 10:38:08 +01:00
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
d79feca63f
Merge pull request #3969 from WuerthPhoenix/custom-tab-hook
Add custom tab hook
2019-12-12 15:55:25 +01:00
Johannes Meyer
bb7f1cd24b monitoring: Apply permission no-monitoring/contacts where applicable 2019-12-05 08:50:51 +01:00
Gianluca Piccolo
1e2bd37ae8 Add custom tab hook 2019-10-02 13:42:42 +02:00
Johannes Meyer
ab99d25cb5 PluginOutput: Relax html restrictions 2019-09-12 10:50:17 +02:00
Johannes Meyer
4f507d9672 SelectBox: Also use the default form classes 2019-07-29 10:19:39 +02:00
Johannes Meyer
3f2a2fa984 Action: Only create an Url object once macros are resolved
refs #3829
2019-06-25 09:08:04 +02:00
Johannes Meyer
201cfa2330
Merge pull request #3304 from Icinga/feature/detailview-improvement
Integrate DetailviewExtension into multi-select views
2019-05-02 14:02:21 +02:00
Johannes Meyer
6a23a641ac
Merge pull request #3678 from Icinga/feature/dont-display-check-now-if-active-checks-are-disabled-3665
Don't allow to reschedule checks for objects with no active checks
2019-04-12 10:58:50 +02:00
Johannes Meyer
3d4fa0bcae MonitoredObjectController: Don't show Check Now if active checks are disabled
refs #3665
2019-02-07 15:51:26 +01:00
Alexander A. Klimov
2625454e5d Allow span and *[style] in plugin outputs 2019-01-12 14:37:18 +01:00
Markus Frosch
4753262589 DetailviewExtension: Integrate into multi-select views
refs #3072
2018-08-22 17:13:41 +02:00
Markus Frosch
ecbfafd25a DetailviewExtension: Make sure data-icinga-module is set on container
To allow the eventhandler in JS to load and initialize the
corresponding module.
2018-08-22 17:04:41 +02:00
Eric Lippmann
658cc72141
Merge pull request #3502 from Icinga/feature/plugin-output-hook
Introduce monitoring/PluginOutputHook
2018-07-18 14:18:27 +02:00
Matthias
4c9dac5fb8 Display all Grapher hooks not just the first one
refs #3473

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 13:49:32 +02:00
Eric Lippmann
becd7d0504 Introduce monitoring/PluginOutputHook
refs #3257
2018-07-16 14:19:28 +02:00
Alexander A. Klimov
02b60633ff Auto-sanitize only in the monitoring module
refs #2635
2018-06-20 18:05:12 +02:00
Alexander A. Klimov
1a94a21263 Prefer Json::encode() over json_encode()
refs #2635
2018-06-20 18:05:11 +02:00
Alexander A. Klimov
2da7ef0eb2 Secure DetailviewExtensionHook::getHtmlForObject()
refs #3393
2018-04-27 12:55:17 +02:00
Johannes Meyer
42b685d336 Introduce class Icinga\Module\Monitoring\Web\Helper\PluginOutputPurifier 2018-01-19 16:16:35 +01:00
Eric Lippmann
ca803e8f05 Fix monitoring health badge if programstatus has never been set 2017-11-22 11:12:24 +01:00
Alexander A. Klimov
467fc79095 Style monitored objects' detailview extensions as expected
refs #2949
2017-09-20 14:49:14 +02: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
efac7f44c9 Merge pull request #2748 from Icinga/bugfix/validate-icinga2-api-user-2674
Bugfix/validate icinga2 api user 2674
2017-03-28 10:25:12 +02:00
Eric Lippmann
0fc45ea953 Merge pull request #2755 from Icinga/feature/keep-quick-actions-in-action-form-2675
Preserve quick actions in a command form view
2017-03-28 10:15:37 +02:00
Eric Lippmann
f749c19f37 Merge pull request #2771 from Icinga/feature/monitoring-detailviewextension-hook-2104
Feature/monitoring detailviewextension hook 2104
2017-03-28 09:46:28 +02:00
Alexander A. Klimov
fb2abf40f8 Make the view available to DetailviewExtensionHooks
refs #2104
2017-02-21 12:23:21 +01:00
Alexander A. Klimov
fe72973e6e Preserve quick actions in a command form view
refs #2675
2017-02-14 13:07:31 +01:00
Alexander A. Klimov
6d593620d6 Test RestRequest
refs #2674
2017-02-13 14:56:35 +01:00
Alexander A. Klimov
96e7411e25 TransportConfigForm: validate whether the Icinga 2 API can be connected to
refs #2674
2017-02-13 14:56:35 +01:00
Alexander A. Klimov
96ef0dccf8 Make JSON error handling logic reusable
refs #2728
2017-02-09 19:50:04 +01:00
Alexander A. Klimov
6fbec7134c Handle invalid Icinga 2 API response types
refs #2728
2017-02-09 13:38:43 +01:00
Johannes Meyer
181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Alexander A. Klimov
0a9aa20dfa Implement DetailviewExtensionHook
refs #2104
2017-01-24 16:44:00 +01:00
Eric Lippmann
1b6e7177a3 Allow to export the host and service detail views to JSON
resolves #12820
2016-12-08 10:40:22 +01: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
Eric Lippmann
9402c1ffa6 Add debug info to commands sent over Icinga 2's API 2016-09-08 09:23:49 +02:00
Eric Lippmann
cfc0f60042 Add RestRequest class
refs #11398
2016-09-01 10:47:06 +02:00
Alexander A. Klimov
ecfc8b0f0a Don't provide the "Add to menu" action for command forms
refs #11850
2016-05-31 14:56:42 +02:00
Alexander A. Klimov
1be8e14772 Servicegroups list: show how many services are unknown and handled
fixes #11708
2016-05-20 17:05:51 +02:00
Eric Lippmann
275d9bd411 Add CSS class for state badge groups 2016-04-13 12:28:38 +02:00
Eric Lippmann
02eea2ad11 Disable persistent comment checkbox if backend is Icinga 2
refs #11100
2016-02-25 17:51:02 +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
Eric Lippmann
027aaacff8 monitoring: Prepare feature command form for multi-select
refs #8963
2016-01-27 17:37:15 +01:00