Johannes Meyer
998610bafa
ProgramstatusQuery: Provide a(nother) fallback for older IDO installations
...
fixes #9168
2015-07-24 15:46:12 +02:00
Eric Lippmann
a75b1a35c6
monitoring: Don't fail when selecting custom variables while having a group by clause
...
refs #9692
2015-07-22 13:47:52 +02:00
Eric Lippmann
15cb24c6dc
Throw an exception in IdoQuery::getCustomvarColumnName() in case the custom variable has not been joined
...
Queries extending IdoQuery and using the method getCustomvarColumnName() must be notified in case the custom variable has not been joined.
refs #9692
2015-07-22 12:03:34 +02:00
Eric Lippmann
3ed13366a8
Remove duplicate line in IdoQuery
...
I introduced this w/ 4522cf5090
.
2015-07-22 12:03:34 +02:00
Eric Lippmann
4522cf5090
Add missing return to IdoQuery::getCustomvarColumnName()
...
Some filter combinations still seem to not work properly.
refs #9692
2015-07-21 15:27:01 +02:00
Johannes Meyer
9c82a24083
ServicestatussummaryQuery: Do not check a host's state twice
...
I was sure that this is necessary and that the query involved does
not handle this by itself, which it obviously does. I cannot find
another query I might have mistakenly associated with it though...
2015-06-29 16:19:33 +02:00
Johannes Meyer
a7498ca0d8
HostcommentQuery: Fix grouping when services are being joined
...
fixes #9503
2015-06-25 13:03:33 +02:00
Johannes Meyer
eabcb6702f
Fix incorrect count of unhandled services in the statistics
...
fixes #9473
2015-06-22 16:16:56 +02:00
Johannes Meyer
5166ede38f
Fix that ghost groups are shown in the host- and servicegroup summary
...
fixes #9454
refs #9458
2015-06-19 14:08:32 +02:00
Johannes Meyer
3b05c62575
IdoQuery: Fix method addFilter()
2015-06-19 14:06:02 +02:00
Johannes Meyer
f5554b6aa0
IdoQuery: Handle non translated customvars properly
2015-06-18 16:43:20 +02:00
Johannes Meyer
dd81de39fd
NotificationQuery: Do not fetch non-history related columns for history queries
...
refs #9009
2015-06-18 14:34:30 +02:00
Johannes Meyer
f2425a97d5
Select -1 as `state' for history queries not providing a valid state
...
PostgreSQL does not seem to be able to union null values with
integers...
refs #9009
2015-06-18 14:33:41 +02:00
Johannes Meyer
77fe094870
ServicedowntimestarthistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:19:25 +02:00
Johannes Meyer
dc66c24a1d
HostdowntimestarthistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:19:14 +02:00
Johannes Meyer
11ed6d6cfa
ServicecommenthistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:19:01 +02:00
Johannes Meyer
f20193edb9
HostcommenthistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:18:52 +02:00
Johannes Meyer
b56114c824
ServicestatehistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:18:40 +02:00
Johannes Meyer
5c19c05a8a
HoststatehistoryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 13:18:21 +02:00
Johannes Meyer
b25d8e2f34
ServicegroupsummaryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 12:35:41 +02:00
Johannes Meyer
a43cae9eb8
HostgroupsummaryQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 12:35:21 +02:00
Johannes Meyer
5ef56fc9b2
ServicestatusQuery: Group by host- and servicegroup pk's if required
...
refs #9009
2015-06-18 12:34:49 +02:00
Johannes Meyer
b24b650a94
HoststatusQuery: Group by host- and servicegroup pk's if required
...
refs #9009
2015-06-18 12:34:30 +02:00
Johannes Meyer
e181c57a70
ServicestatusQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 12:08:05 +02:00
Johannes Meyer
37103cf72d
HoststatusQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 11:52:58 +02:00
Johannes Meyer
b9479e7da4
ServicegroupQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 11:33:09 +02:00
Johannes Meyer
b128bef8f0
HostgroupQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 11:29:26 +02:00
Johannes Meyer
d66b7e85e7
ServicecommentQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 11:17:36 +02:00
Johannes Meyer
99b0d63e94
HostcommentQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 11:17:14 +02:00
Johannes Meyer
4f42da49a8
ServicenotificationQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 10:59:52 +02:00
Johannes Meyer
8ec494c962
HostnotificationQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 10:58:59 +02:00
Johannes Meyer
068c0b6ed2
ServicedowntimeQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 10:38:15 +02:00
Johannes Meyer
72de85ab7b
HostdowntimeQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 10:37:54 +02:00
Johannes Meyer
535b740d0e
ContactgroupQuery: PostgreSQL grouping...
...
refs #9009
2015-06-18 10:09:50 +02:00
Johannes Meyer
9cfca36f46
ContactQuery: PostgreSQL grouping..
...
refs #9009
2015-06-18 09:39:23 +02:00
Johannes Meyer
1169793213
IdoQuery: Add prototype for dynamic GROUP BY clauses
2015-06-18 09:36:04 +02:00
Johannes Meyer
5c1cdbc1c8
IdoQuery: Join hosts and services automatically if required for customvars
...
refs #9009
fixes #9426
2015-06-17 10:00:29 +02:00
Johannes Meyer
486fbd599b
HoststatusQuery: Respect IDO schema version
...
refs #9009
fixes #9425
2015-06-17 09:05:32 +02:00
Johannes Meyer
bf70ec2802
ServicenotificationQuery: Ensure that notifications not sent to a contact are fetched
...
refs #9009
2015-06-16 13:29:31 +02:00
Johannes Meyer
42a1d8e56d
HostnotificationQuery: Ensure that notifications not sent to a contact are fetched
...
refs #9009
2015-06-16 13:29:21 +02:00
Johannes Meyer
05e0568ef1
StatusQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:42:24 +02:00
Johannes Meyer
73e9db3704
ServicestatusQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:42:13 +02:00
Johannes Meyer
c11bd6d7ee
ServicestatehistoryQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:42:04 +02:00
Johannes Meyer
7a5156b0ad
ServicenotificationQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:41:52 +02:00
Johannes Meyer
1dd21c2969
ServicegroupQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:41:43 +02:00
Johannes Meyer
755da0c210
ServicedowntimestarthistoryQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:41:36 +02:00
Johannes Meyer
0cc693810b
ServicedowntimeQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:41:26 +02:00
Johannes Meyer
1983c499b0
ServicecommentQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:41:11 +02:00
Johannes Meyer
13cb52b3cb
ServicecommenthistoryQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:40:59 +02:00
Johannes Meyer
72e5c07da1
HoststatusQuery: Fix invalid joins
...
refs #9009
2015-06-16 09:40:49 +02:00