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
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
665557be27
Support Icinga 2.6 IDO w/ PostgreSQL
2016-12-09 11:57:56 +01:00
Alexander A. Klimov
efed4a34a1
Event history: show also flapping events
...
refs #12766
2016-12-07 17:23:20 +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
Alexander A. Klimov
a0a203c875
Make timeline working again
...
refs #12889
2016-10-17 12:44:05 +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
Eric Lippmann
c55c5a9e64
IDO: Provide downtime name column
...
The Icinga 2 API requires the downtimes's name when removing the downtime.
refs #11398
2016-08-31 14:05:01 +02:00
Eric Lippmann
0e307c6482
IDO: Provide comment name column
...
The Icinga 2 API requires the comment's name when removing the comment.
refs #11398
2016-08-31 12:57:50 +02:00
Michael Friedrich
f127611969
Fix contact service filters for 'Downtime'
...
refs #12019
2016-06-22 13:32:26 +02:00
Alexander A. Klimov
3fed5e920f
list/contactgroups: show empty usergroups, too
...
refs #11744
2016-05-31 17:55:52 +02:00
Alexander A. Klimov
af2cee0942
Make host and service severities independend of whether the state is soft or hard
...
refs #11729
2016-05-20 14:41:02 +02:00
Eric Lippmann
f66daa622c
Fix unwanted change of ContactgroupQuery::$groupBase
...
Oops!
fixes #11598
2016-04-18 01:01:26 +02:00
Eric Lippmann
a2ff8c9778
monitoring: No longer provide contact columns in the contact group query
...
Contacts query w/ filter for contact group should be used instead.
2016-03-31 10:26:27 +02:00
Eric Lippmann
47b3019940
Add MonitoringBackend::isIcinga2()
...
This function is for the many places where we have to distinguish between Icinga 1.x and Icinga 2.x.
refs #11100
2016-02-25 17:45:51 +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
Thomas Gelf
b643c97fb0
IdoQuery: pass ourselves to hook, not back to us
2015-11-13 18:01:39 +01:00
Thomas Gelf
fd7165329a
IdoQuery: provide ourselves to the hook
2015-11-13 17:37:03 +01:00
Thomas Gelf
cd16206c7e
IdoQuery: fix typo
2015-11-13 17:37:03 +01:00
Thomas Gelf
2589fbcf04
IdoQuery::joinHookedVirtualTable: missing method
2015-11-13 17:37:03 +01:00
Thomas Gelf
b7352105d2
IdoQueryExtensionHook: "just a new hook"
2015-11-13 17:37:03 +01:00
Johannes Meyer
26e6acf9af
ListController: Fix servicegrid grouping when applying group restrictions #2
...
PostgreSQL had still issues with it. Quickfix only, again.
refs #10316
2015-11-13 14:42:28 +01:00
Johannes Meyer
5e37f7758b
ServicecommenthistoryQuery: Add missing group origin "servicegroups"
...
refs #10316
2015-11-13 12:55:06 +01:00
Johannes Meyer
005ec27cea
IdoQuery: Fix method isTimestamp() not handling customvars properly
...
refs #10316
2015-11-13 12:13:02 +01:00
Johannes Meyer
cc37ca37d9
ListController: Fix servicegrid grouping when applying group restrictions
...
Quickfix only.
refs #10316
2015-11-13 11:40:51 +01:00
Johannes Meyer
140e288c0b
IdoQuery: Fix incorrect GROUP BY for MySQL SELECTs with joined columns
...
refs #10316
2015-11-12 16:02:41 +01:00
Johannes Meyer
89d8126226
Revert "Fix grouping of host- and servicegroup queries"
...
This reverts commit 35c7ed81a7
.
2015-11-12 09:26:11 +01:00
Johannes Meyer
689cae8701
Merge branch 'master' into bugfix/hot-all-hostgroups-are-shown-10316
2015-11-12 09:23:49 +01:00
Johannes Meyer
39f4d869b7
IdoQuery: Fix that PostgreSQL queries do not apply LOWER() on order cols
...
refs #10364
refs #9955
2015-11-11 15:25:40 +01:00
Johannes Meyer
0b2b1c5d1e
IdoQuery: Fix that PostgreSQL queries use LOWER() on non-CI columns
...
refs #10364
refs #9954
2015-11-11 14:33:00 +01:00
Johannes Meyer
3d735693db
IdoQuery: Fix method isCaseInsensitive() returning true for .. everything ..
...
..with a PostgreSQL backend.
refs #10364
2015-11-10 16:05:05 +01:00
Johannes Meyer
52606eb2e7
Revert "monitoring: Fix handling of collated columns w/ PostgreSQL"
...
This reverts commit f5ffa8047c
.
refs #10364
refs #9954
refs #9955
2015-11-10 15:59:16 +01:00
Johannes Meyer
ad5a43ce7b
HostserviceproblemsummaryQuery: Group by "so.name1"
...
fixes #10589
refs #10490
2015-11-10 15:04:00 +01:00
Eric Lippmann
ba55ad7c5a
monitoring: Fix unhandled service counter in the hosts overview
...
Group by was wrong.
fixes #10490
2015-11-09 09:55:17 +01:00
Johannes Meyer
35c7ed81a7
Fix grouping of host- and servicegroup queries
...
It's a rather quick fix but fixes the problem. We should take another look whether
a more sophisticated solution can be found.
refs #10316
2015-10-10 20:04:04 +02:00
Eric Lippmann
54bb99a96d
Merge branch 'feature/dope-layout-5543'
...
refs #5543
2015-10-02 11:16:35 +02:00
Eric Lippmann
61357da35c
Merge branch 'bugfix/group-by-9956'
...
fixes #9956
2015-10-01 23:05:27 +02:00
Eric Lippmann
231c63b703
Merge branch 'master' into feature/dope-layout-5543
2015-09-30 18:52:52 +02:00
Eric Lippmann
527b146054
monitoring: Remove unnecessary columns in the GROUP BY list for MySQL
...
refs #9956
2015-09-30 09:45:52 +02:00
Eric Lippmann
bcbe7640e7
monitoring: Fix typos in queries after removing ::getGroup()
...
refs #9956
2015-09-30 09:45:18 +02:00
Eric Lippmann
0f622fe10b
monitoring: Fix renamed index in the ServicedowntimeendhistoryQuery
...
refs #9956
2015-09-30 09:33:53 +02:00
Eric Lippmann
c4ac3cbc1a
monitoring: Rearrange code in the ServicedowntimestarthistoryQuery
...
refs #9956
2015-09-30 09:33:10 +02:00
Eric Lippmann
aa76925f69
monitoring: Remove ServicedowntimestarthistoryQuery::getGroup()
...
refs #9956
2015-09-30 09:32:36 +02:00
Eric Lippmann
bd4216907e
monitoring: Rearrange code in the ServicedowntimeQuery
...
refs #9956
2015-09-30 09:30:04 +02:00
Eric Lippmann
f4e4dbe069
monitoring: Remove ServicedowntimeQuery::getGroup()
...
refs #9956
2015-09-30 09:29:34 +02:00
Eric Lippmann
690fc89d62
monitoring: Rearrange code in the ServicestatushistoryQuery
...
refs #9956
2015-09-30 09:28:27 +02:00