Eric Lippmann
a4731ebbb3
Select is_reachable from host and service status
...
refs #6875
2015-03-13 00:25:08 +01:00
Eric Lippmann
53626ccfeb
Merge branch 'master' into bugfix/unnecessary-joins-8614
2015-03-12 16:40:16 +01:00
Eric Lippmann
29b5e4fd43
Add host_name and service_description columns w/o collation to the comment query
...
refs #8614
2015-03-12 16:38:32 +01:00
Eric Lippmann
112f8eb2f9
Remove COLLATE from host_name and service_description in the Contactgroup query
...
refs #8614
refs #8613
2015-03-12 16:33:28 +01:00
Eric Lippmann
7212434856
Remove COLLATE from host_name and service_description in the Contact query
...
refs #8614
refs #8613
2015-03-12 16:32:05 +01:00
Thomas Gelf
16ca8d0654
StatusQuery: fix join on wrong alias
...
Looks like a copy & paste error, resulted in hosts been shown multiple
times.
fixes #8699
2015-03-12 09:46:38 +01:00
Eric Lippmann
ea32d3dfb3
Add PHPDoc to the EventHistory query
...
refs #8614
2015-03-11 13:01:14 +01:00
Eric Lippmann
c69a46d005
Add PHPDoc to the Downtime query
...
refs #8614
2015-03-11 13:01:14 +01:00
Eric Lippmann
6d43673754
Do not always join host and service status in the DowntimeQuery
...
Now the hoststatus and servicestatus tables are only joined if necessary.
refs #8614
2015-03-06 13:13:02 +01:00
Eric Lippmann
2b91ec7f2c
Comment out unused query in the ContactgroupQuery
...
refs #8614
2015-03-06 09:54:12 +01:00
Eric Lippmann
fc403e693b
Fix array indentation in the ContactQuery
...
refs #8614
2015-03-06 09:46:47 +01:00
Eric Lippmann
dc223128bb
Remove host_- and service_object_id from ContactQuery's columnMap
...
We do not use these columns.
refs #8614
2015-03-05 17:18:52 +01:00
Johannes Meyer
e588ea2714
Fix filter expression handling when lowering to achieve case-insensitivity
...
fixes #8435
2015-02-16 13:05:24 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Johannes Meyer
04edf0d075
Fix that the search is case-sensitive in case of a PostgreSQL backend
...
fixes #8083
2015-02-03 16:15:59 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
f9047e85c5
monitoring: Fix wrong unhandled service problems count in the hosts overview
...
The query was missing the is_active = 1 condition. I'll open an issue for the other
affected queries.
fixes #8013
2015-02-02 11:12:27 +01:00
Eric Lippmann
405e18a46f
monitoring: Fix PHPDoc for MonitoringBackend::from()
2015-01-27 13:37:28 +01:00
Eric Lippmann
a1fbb3d937
monitoring: Fix host and service groups overviews when using PostgreSQL
...
fixes #8268
2015-01-23 15:47:18 +01:00
Eric Lippmann
7500dd9c68
Revert "GroupSummary/Postgres: Fix group by in initial join query"
...
This reverts commit f47bc46654
.
Conflicts:
modules/monitoring/library/Monitoring/Backend/Ido/Query/GroupsummaryQuery.php
No need to reintroduce group columns.
2015-01-23 15:27:52 +01:00
Eric Lippmann
30eed015ba
monitoring: Support selecting host group and service group alias in the GroupsummaryQuery
...
refs #8266
2015-01-23 11:21:29 +01:00
Eric Lippmann
74a0c1e274
monitoring: Support selecting host group and service group alias in the HoststatusQuery
...
refs #8266
2015-01-23 11:21:10 +01:00
Eric Lippmann
e15c085f19
monitoring: Support selecting host group and service group alias in the StatusQuery
...
refs #8266
2015-01-23 11:20:35 +01:00
Eric Lippmann
5ac1eaa513
monitoring: Fix indents in the GroupsummaryQuery
2015-01-23 11:11:34 +01:00
Eric Lippmann
a91a2eba68
monitoring: Support host and service display_name columns in the CommentQuery
...
refs #7843
2015-01-21 16:09:13 +01:00
Eric Lippmann
d8b1e63231
monitoring: Support host and service display_name in the NotificationQuery
...
refs #7843
2015-01-21 15:47:10 +01:00
Eric Lippmann
0bcca651b2
monitoring: Remove useless PHPDoc in the NotificationQuery
2015-01-21 13:12:26 +01:00
Eric Lippmann
85aa447516
monitoring: Support host and service display_name in the DowntimeQuery
...
refs #7843
2015-01-21 12:52:29 +01:00
Eric Lippmann
d528ddc641
monitoring: Fix that host_display_name is NULL when the object is a service in the evenhistory overview
...
refs #7843
2015-01-21 12:51:47 +01:00
Eric Lippmann
e881a0de33
monitoring: Remove useless PHPDoc in the DowntimeQuery
2015-01-21 10:35:10 +01:00
Eric Lippmann
25c2e99122
monitoring: Fix duplicate array key 'service_description' in the EventHistoryQuery
2015-01-21 10:26:12 +01:00
Eric Lippmann
aa976c4198
monitoring: Support host and service display_name in the EventHistoryQuery
...
This adds two left joins to the query when selecting host_display_name and service_display_name.
If performance suffers badly, we have to evaluate whether to support the display_name column for displaying
the host and service name in the eventhistory overview.
refs #7843
2015-01-21 10:24:24 +01:00
Eric Lippmann
1bba0b3d0f
monitoring: Fix coding style in the EventHistoryQuery
2015-01-21 10:15:58 +01:00
Eric Lippmann
7d967d25b3
monitoring: Fix code style in the StatehistoryQuery
2015-01-21 10:12:14 +01:00
Eric Lippmann
10571c3178
monitoring: Fix duplicate array key 'service_description' in the StatehistoryQuery
2015-01-21 10:10:07 +01:00
Eric Lippmann
b0e27c4fe6
monitoring: Remove duplicate array key 'host_check_command' in the StatusQuery
2015-01-20 13:43:53 +01:00
Eric Lippmann
56640fa64f
postgres: Use timestamp comparison instead of timezone offset comparison for detecting the default timestamp
...
refs #7919
2015-01-19 13:50:03 +01:00
Eric Lippmann
09d5ec6b7a
postgres: Return 0 if a timestamp looks like the default timestamp
...
The PostgreSQL IDO schema sets the default value for timestamps with time zone
to the epoch time w/o giving the time zone +00. Thus default timestamps are always
wrong when using a time zone other than 'UTC'.
refs #7919
2015-01-16 17:05:50 +01:00
Eric Lippmann
dae3ccd90c
monitoring: Take status_update_time into account when is_currently_running is 1
...
fixes #8210
2015-01-16 17:02:35 +01:00
Eric Lippmann
a6861789bb
lib: Remove superfluous return false from IdoQuery
2015-01-16 17:01:52 +01:00
Johannes Meyer
f513e7959e
Consider also the host's state when counting its service problems
...
refs #8013
2014-12-22 16:20:12 +01:00
Johannes Meyer
2b14dbaff3
Fix the groupsummarie's grouping in case of PostgreSQL
...
fixes #7859
2014-12-01 14:36:46 +01:00
Johannes Meyer
e23a794844
There is no "highest" severity, just "some" severity
2014-11-20 12:49:10 +01:00
Johannes Meyer
2fdc1f4322
Sort the hostgroup- and servicegroupsummary by service severity
2014-11-20 09:48:47 +01:00
Johannes Meyer
c74f7531dc
Do not display host- and servicegroups as boxes but as table instead
2014-11-19 11:53:45 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Thomas Gelf
10ec0446e0
Livestatus\DowntimeQuery: first basic version
2014-11-16 18:55:48 +01:00
Thomas Gelf
8bd9a966e1
Livestatus\ServicegroupQuery: initial commit
2014-11-16 18:54:08 +01:00