Eric Lippmann
f5a9016dea
Optimize queries for creating the host and service problem badges in the menu
...
We now use two fast count queries w/ an appropriate filter instead of fetching a whole bunch of unnecessary host and service counters.
2017-07-27 11:38:00 +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
a4a0f9f5e6
Allow to filter notifications by notification_reason
...
refs #2698
2017-05-04 14:38:00 +02:00
Eric Lippmann
7a2d8eda8d
Fix exception when the response from the Icinga 2 API has an empty result set
...
fixes #2805
2017-04-04 09:17:52 +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
Eric Lippmann
d2341369a9
Merge pull request #2730 from Icinga/bugfix/invalid-icinga-2-api-response-2728
...
Handle invalid Icinga 2 API response types
2017-02-13 14:44:51 +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
Alexander A. Klimov
95020bfed4
Show check attempts only for soft state changes
...
refs #2718
2017-02-08 14:09:18 +01:00
Johannes Meyer
35ba15a7a6
monitoring: Don't offer the Icinga 2 API as transport if cURL is missing
...
fixes #2661
2017-02-01 15:37:52 +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
1da67cfbc0
Merge pull request #2689 from Icinga/fix-icinga-com-2687
...
Update to icinga.com
2017-01-18 13:25:39 +01:00
Michael Friedrich
08a82daea3
Update to icinga.com
...
refs #2687
2017-01-18 12:04:43 +01:00
Michael Friedrich
b474482188
Fix local timestamp for PostgreSQL queries
...
This fixes the "monitoring health" view indicating that Icinga 2
isn't updating the database, even if status_update_time uptodate.
refs #2651
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-01-17 16:31:03 +01:00
Eric Lippmann
cde55b5764
Support failover API command transport configuration
...
fixes #13957
2017-01-12 10:39:36 +01:00
Eric Lippmann
8f9920f1fc
Return unprefixed Icinga version in MonitoringBackend::getProgramVersion()
2016-12-12 12:40:54 +01:00
Eric Lippmann
62ebaab8b7
Merge branch 'feature/show-flapping-events-in-the-history-views-12766'
...
resolves #12766
2016-12-12 10:57:25 +01:00
Alexander A. Klimov
bb920c37d4
Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115
...
refs #11115
2016-12-09 14:12:49 +01:00
Alexander A. Klimov
665557be27
Support Icinga 2.6 IDO w/ PostgreSQL
2016-12-09 11:57:56 +01:00
Alexander A. Klimov
dce6b4eb08
Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115
2016-12-08 16:50:41 +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
4f6c54e62c
Support scheduling a downtime for all services of a host w/ the Icinga 2 API as command transport
...
fixes #12810
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
Alexander A. Klimov
efed4a34a1
Event history: show also flapping events
...
refs #12766
2016-12-07 17:23:20 +01:00
Alexander A. Klimov
0665ca387b
Setup: show monitoring config summary even with Icinga 2 API as command transport
...
fixes #13459
2016-12-07 17:09:48 +01:00
Alexander A. Klimov
f1051f0ea5
Drop MonitoredObject::getNotes()
2016-12-05 13:33:11 +01:00
Eric Lippmann
d6d0434a5f
Merge remote branch 'bugfix/show-all-usergroups-in-the-web-interface-11744'
...
fixes #11744
2016-12-05 11:18:18 +01:00
Eric Lippmann
429405be0c
Fix inconsistent host and service flags
...
fixes #13243
2016-11-21 10:26:35 +01:00
Johannes Meyer
8978ad9f79
Revert "DataView: Apply object restrictions to dynamic filter columns"
...
This reverts commit 9ec471d34965198d2cfd5f2b9a6bbb76883023e0.
refs #9993
2016-11-15 12:47:54 +01:00
Eric Lippmann
93474972bf
Enable propagate host downtime commands for Icinga 2
...
This only works when using the latest Icinga 2 snapshot packages. Before releasing Web 2.4.0, we have to include a check to only offer these commands when using Icinga 2 2.6.0+
refs #10774
2016-11-08 15:27:29 +01:00
Alexander A. Klimov
3caffb0026
Merge branch 'bugfix/timeline-broken-12889'
...
fixes #12889
2016-10-17 14:07:40 +02:00
Alexander A. Klimov
a0a203c875
Make timeline working again
...
refs #12889
2016-10-17 12:44:05 +02:00
Jennifer Mourek
c57a636290
MonitoredObject: Fix incorrect line indentation in method fetchCustomvars
2016-10-17 10:28:50 +02:00
Noah Hilverling
9ec471d349
DataView: Apply object restrictions to dynamic filter columns
...
fixes #9993
2016-10-17 09:17:49 +02:00
Jennifer Mourek
c5c10adf75
MonitoredObject: Delete fallback for protected custom variables
...
fixes #12848
2016-10-13 08:54:30 +02:00
Eric Lippmann
c547f4c17f
Fix error in the contact detail view introduced by changes to the notification queries
2016-09-15 14:07:19 +02:00
Eric Lippmann
fd6ae75803
IDO: Improve notification view performance
2016-09-14 16:18:41 +02:00
Eric Lippmann
1ed2ebc191
IDO: Add config option to use the customvariables table for fetching custom vars
...
Icinga 1.x has the option to not dump the icinga_customvariablestatus table:
dump_customvar_status=0
With this setting applied, Web 2 will never show custom variables because Web 2 relies on the customvariablestatus table.
This commit introduces a config option to use the customvariables table instead:
/etc/icingaweb2/modules/monitoring/config.ini
[ido]
use_customvar_status_table = 0
2016-09-12 15:52:07 +02:00
Eric Lippmann
65d7c18c31
Merge branch 'bugfix/contact-service-filter-12019'
...
fixes #12019
2016-09-12 12:30:34 +02:00