Eric Lippmann
e240f7b955
monitoring: Don't select host last ack, comment and downtime
...
Where unsure whether or not we will still support this.
refs #7344
refs #9009
2015-05-26 17:00:39 +02:00
Eric Lippmann
c81d13d77a
monitoring: Use the HostatusQuery in the HostStatus data view
...
refs #7344
refs #9009
2015-05-26 17:00:34 +02:00
Eric Lippmann
e9dd69267c
monitoring: Prepare HoststatusQuery to be used when viewing hosts
...
The Hoststatusquery does not include the joins for last ack, comment and downtime as where unsure whether or not we will still support this.
refs #7344
refs #9009
2015-05-26 17:00:24 +02:00
Matthias Jentsch
4ac7557c2f
Show host and service notes in the host and service detail view
...
refs #8235
2015-05-26 16:40:32 +02:00
Johannes Meyer
59ff4221f6
CommandTransport: Make sure to reset the config before calling current()
2015-05-22 14:01:11 +02:00
Johannes Meyer
265725447d
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-22 10:06:31 +02:00
Marius Hein
57abafd10b
Merge branch 'master' into bugfix/customvars-case-insensitive-8696
2015-05-21 16:51:04 +02:00
Marius Hein
7c04664888
Make MySQL collation syntax default
...
Overwrite customVarsJoinTemplate for Postgres and Oracle.
refs #8696
2015-05-21 16:09:03 +02:00
Matthias Jentsch
8ce9989243
Merge branch 'feature/support-icon-image-alt-9300'
...
resolves #9300
2015-05-21 15:03:06 +02:00
Matthias Jentsch
598ef1e8f4
Add alt-text to icon_images
...
Print alt-text as title and alt-attribute in the helper class and add the alt-column to the backend query.
refs #9300
2015-05-21 14:59:12 +02:00
Marius Hein
e8e3b940af
Use CustomVariable names case insensitive
...
refs #8696
2015-05-21 14:42:09 +02:00
Eric Lippmann
47f21eebaa
Merge branch 'bugfix/Take-display_name-into-account-when-searching-for-host-and-service-names-8241'
...
fixes #8241
2015-05-21 14:05:49 +02:00
Eric Lippmann
57328aa6ed
monitoring: Make host group and service group alias columns case insensitive
...
The alias columns should be case insenstive because we now support them when searching.
refs #8241
2015-05-21 13:58:54 +02:00
Eric Lippmann
0c72686ba1
monitoring: Make display_name columns case insensitive
...
The display_name columns should be case insenstive because we now support them when searching.
refs #8241
2015-05-21 12:46:47 +02:00
Eric Lippmann
ad5ab16b3f
monitoring: Drop the Groupsummary data view
...
We have Hostgroupsummary and Servicegroupsummary now.
refs #8241
2015-05-21 12:43:27 +02:00
Eric Lippmann
1a1f93db23
monitoring: Add sort rules to the service group summary
...
refs #8241
2015-05-21 12:41:29 +02:00
Eric Lippmann
e7396ea49c
monitoring: Add services_severity to the service group summary data view
...
refs #8241
2015-05-21 12:38:58 +02:00
Eric Lippmann
73eb8cc805
monitoring: Add sort rule for total services to the host group summary
...
refs #8241
2015-05-21 12:37:53 +02:00
Eric Lippmann
58b3192ce3
monitoring: Add sort rules to the host group summary
...
refs #8241
2015-05-21 12:26:27 +02:00
Eric Lippmann
195275a716
monitoring: Don't hardcode sort direction of the severity columns
...
fixes #9059
2015-05-21 12:20:18 +02:00
Eric Lippmann
82f9425b90
Revert "Make ascending sort by host or service severity initiatable"
...
This reverts commit 386d4db851
.
The commit introduced the bug that changing the sort direction no longer changed the sort direction :)
refs #9059
2015-05-21 12:20:18 +02:00
Eric Lippmann
37abc724de
monitoring: Let the host group summary provide the column hosts_severity
...
refs #8241
2015-05-21 11:24:31 +02:00
Eric Lippmann
bbed2cffae
monitoring: Add column hosts_severity to the group summary query
...
refs #8241
2015-05-21 11:23:55 +02:00
Eric Lippmann
ce463d16ef
Reorder group summary query's columns by name
...
refs #8241
2015-05-21 11:19:58 +02:00
Eric Lippmann
cfb819ec61
monitoring: Add missing column to the host group summary data view
...
refs #8241
2015-05-20 17:03:23 +02:00
Eric Lippmann
b9a6e1042d
Merge branch 'master' into bugfix/Take-display_name-into-account-when-searching-for-host-and-service-names-8241
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
2015-05-20 17:02:49 +02:00
Eric Lippmann
80b174f526
monitoring: Servicegroupsummary must not extend Groupsummary which is subject to remove
...
refs #8241
2015-05-20 16:16:21 +02:00
Eric Lippmann
a9d6a94957
monitoring: Use the groupsummary query for the service group summary view
...
refs #8241
2015-05-20 16:09:30 +02:00
Eric Lippmann
d379b27c24
monitoring: Hostgroupsummary must not extend Groupsummary which is subject to remove
...
refs #8241
2015-05-20 15:50:19 +02:00
Eric Lippmann
41e72396ee
monitoring: Use the groupsummary query for the host group summary view
...
refs #8241
2015-05-20 15:50:06 +02:00
Eric Lippmann
2493535ac7
Revert "Implement classes HostgroupsummaryQuery and ServicegroupsummaryQuery"
...
This reverts commit 9b4f08eb43
.
There's DataView::getQueryName() for this.
refs #8241
2015-05-20 15:29:45 +02:00
Johannes Meyer
71fa736144
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-20 10:46:55 +02:00
Alexander A. Klimov
9b4f08eb43
Implement classes HostgroupsummaryQuery and ServicegroupsummaryQuery
...
Without this the Hostgroupsummary and Servicegroupsummary DataViews would not work
refs #8241
2015-05-20 10:43:54 +02:00
Alexander A. Klimov
93db1d15cb
Override ::getSearchColumns()
...
refs #8241
2015-05-19 18:17:40 +02:00
Alexander A. Klimov
6ba07b089d
Implement and use Hostgroupsummary and Servicegroupsummary
...
refs #8241
2015-05-19 18:17:40 +02:00
Matthias Jentsch
c0cf6e4918
Display icon_images in all host and service detail views
...
refs #8665
2015-05-19 18:08:26 +02:00
Alexander A. Klimov
2ed1d6c66b
Implement ::getSearchColumns()
...
refs #8241
2015-05-19 17:36:24 +02:00
Eric Lippmann
0a8c9ad195
Merge branch 'feature/list-number-of-hosts-in-host-groups-8054'
...
resolves #8054
2015-05-19 15:10:20 +02:00
Johannes Meyer
fb07f0b94c
Merge branch 'master' into feature/user-and-group-management-8826
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/Protocol/Ldap/Query.php
2015-05-19 14:14:03 +02:00
Johannes Meyer
4cedfce07f
DataView: Fix that method getOffset() calls parent::hasOffset()
2015-05-19 13:57:20 +02:00
Johannes Meyer
a629adb448
DataView: Remove method paginate()
2015-05-19 13:57:20 +02:00
Johannes Meyer
f305a334d5
DbConnection: Drop param $columnIndex in fetchColumn(), it's unused
2015-05-19 09:48:20 +02:00
Johannes Meyer
0e0341f78a
It's the connection which provides a cursor, not the query
2015-05-18 16:01:58 +02:00
Matthias Jentsch
592d5eadc1
Merge branch 'feature/improve-multi-select-view-8565'
2015-05-18 16:00:52 +02:00
Matthias Jentsch
c3129890aa
Improve multi-view tabs
...
Display the current object count next to the tab title, to clarify that those views display a summary of multiple items. Only display the current tab for hosts or services, to avoid confusion.
refs #8565
2015-05-18 15:25:12 +02:00
Johannes Meyer
742dfcaf41
Revert "Fetchable: Add method fetch() which returns an iterator"
...
This reverts commit 7a6837de0e
.
2015-05-18 15:17:22 +02:00
Matthias Jentsch
00bbb762a1
Integrate comments and downtimes into MonitoredObjectsController
...
Add option to list all related commends and downtimes into the specific hosts and serivces views.
refs #8565
2015-05-18 14:03:10 +02:00
Johannes Meyer
7a6837de0e
Fetchable: Add method fetch() which returns an iterator
2015-05-18 13:59:16 +02:00
Marius Hein
62d8c441f8
Add ServiceActionsHook
...
refs #9284
2015-05-18 11:45:39 +02:00
Johannes Meyer
5faebb4a88
DataView: Implement interface IteratorAggregate
...
I'd like to foreach such.
2015-05-15 14:37:41 +02:00
Johannes Meyer
3770741ba5
DataView: Implement QueryInterface
...
An instance of DataView should implement the full interface, not only
parts of it.
2015-05-15 14:37:41 +02:00
Alexander A. Klimov
386d4db851
Make ascending sort by host or service severity initiatable
...
fixes #9059
2015-05-15 11:19:52 +02:00
Johannes Meyer
149e893ecd
Revert "Make ascending sort by host or service severity initiatable"
...
This reverts commit 7e1f9f6dcc
.
2015-05-15 10:54:30 +02:00
Alexander A. Klimov
ead0a64244
GroupsummaryQuery: add column `hosts_total'
...
refs #8054
2015-05-13 18:10:18 +02:00
Alexander A. Klimov
7e1f9f6dcc
Make ascending sort by host or service severity initiatable
...
fixes #9059
2015-05-13 17:48:34 +02:00
Alexander A. Klimov
43d8968bd2
GroupsummaryQuery: add columns
...
hosts_up_last_state_change
hosts_pending_last_state_change
hosts_down_last_state_change_handled
hosts_unreachable_last_state_change_handled
hosts_down_last_state_change_unhandled
hosts_unreachable_last_state_change_unhandled
refs #8860
2015-05-13 16:22:47 +02:00
Alexander A. Klimov
9e3d65e4e9
Display performance data metrics with value 0
...
fixes #8744
2015-05-12 17:44:53 +02:00
Alexander A. Klimov
7353c0d287
IdoQuery::initializeForPostgres(): cast only valid IP addresses to inet
...
fixes #7165
2015-05-12 16:35:14 +02:00
Matthias Jentsch
25f397042b
Merge branch 'master' into feature/improve-multi-select-view-8565
...
Conflicts:
modules/monitoring/application/controllers/HostsController.php
modules/monitoring/application/controllers/ServicesController.php
modules/monitoring/application/views/scripts/hosts/show.phtml
modules/monitoring/application/views/scripts/list/hosts.phtml
modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
modules/monitoring/application/views/scripts/services/show.phtml
modules/monitoring/public/css/module.less
public/js/icinga/behavior/tooltip.js
2015-05-11 13:28:43 +02:00
Matthias Jentsch
83efc3a4a3
Conform to coding guidelines
2015-05-07 17:23:50 +02:00
Matthias Jentsch
7cf2cb034e
Remove unused and redundant controller actions
...
refs #8624
2015-05-07 16:22:17 +02:00
Matthias Jentsch
4463f16f04
Add abbillity to remove multiple comments by id
...
refs #8624
2015-05-07 15:11:54 +02:00
Matthias Jentsch
ffd12e325c
Improve up downtime command form properties
...
Use a flag instead of a enumeration in delete downtime command form, to remove needless boilerplate.
refs #8624
2015-05-07 14:05:16 +02:00
Matthias Jentsch
b35dd4ddfe
Separate forms for deleting single and multiple comments
...
refs #8624
2015-05-07 14:03:09 +02:00
Matthias Jentsch
d316b31cbb
Fix downtime removal command in detail view
...
Use removal command for single downtimes in detail view. Move removing single and multiple downtimees into seperate forms.
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
6ddb004230
Move removal command actions into the downtime controllers
...
refs #8902
2015-05-07 10:34:06 +02:00
Michael Friedrich
defda53ff5
Show icinga program version in Monitoring Health
...
Also emphasize on the backends used.
fixes #9207
2015-05-05 17:02:45 +02:00
Alexander Fuhr
d1f1f5d7d7
ProgrammStatusQuery: Add fallback if ido_version is older than required
...
resolves #9223
2015-05-05 16:32:18 +02:00
Alexander Fuhr
0e4201a997
Add info about the active ido endpoint to monitoring health overview
...
resolves #9223
2015-05-05 15:20:25 +02:00
Alexander Fuhr
8484a27b56
Add a backend problem menu item renderer to system menu
...
refs #4139
2015-04-30 16:13:10 +02:00
Alexander Fuhr
5f3aafd3bd
Merge branch 'bugfix/menu-item-renderer-deduplication-7658'
...
fixes #7658
2015-04-20 17:15:21 +02:00
Alexander Fuhr
9ebf4742de
Use the MenuItemRenderer render() implemnetations
...
refs #7658
2015-04-20 17:07:34 +02:00
Johannes Meyer
f11ea04557
Revert "Require `host_name' instead of `host' to show or list particular objects"
...
This reverts commit b93d18a0fc
.
2015-04-20 16:11:22 +02:00
Johannes Meyer
96fb0370a4
Revert "Require `service_description' instead of `service' to show a particular service"
...
This reverts commit 09ab601942
.
2015-04-20 16:09:14 +02:00
Johannes Meyer
da7aa23820
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 15:20:23 +02:00
Alexander Fuhr
c76e4e3583
Change the global namespace to the module specific namespace
...
refs #7642
2015-04-20 13:05:23 +02:00
Alexander Fuhr
593ea7add5
Move monitoring module renderers from global module to monitoring module
...
refs #7642
2015-04-20 13:02:12 +02:00
Johannes Meyer
54a370ca22
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 11:15:04 +02:00
Johannes Meyer
32e8b606b4
Monitoring\Controller: Drop `compactView' property, as it's not used anywere
2015-04-15 15:17:59 +02:00
Eric Lippmann
9d4460d02f
Use inheritdoc in the ScheduleServiceCheckCommand
2015-04-15 14:59:29 +02:00
Eric Lippmann
b8849c0ac9
Return $this in the setters of the SendCustomNotificationCommand
...
Further fixed bad PHPDoc.
2015-04-15 14:59:29 +02:00
Johannes Meyer
923bc11b39
GroupsummaryQuery: Provide case insensitive filter columns for group names
...
I've renamed those and made them case sensitive as part of #8613 but
missed that they are required by the global search.
fixes #9056
2015-04-14 12:44:24 +02:00
Johannes Meyer
2618d4a468
DataView\Contact: Add missing query columns
...
fixes #9057
2015-04-14 12:27:54 +02:00
Johannes Meyer
638c00d685
Merge branch 'master' into feature/non-collated-ido-queries-8613
2015-04-13 15:55:32 +02:00
Johannes Meyer
9cc5469305
NotificationQuery: Provide case-insensitive filter column `contact'
...
refs #8613
2015-04-13 15:33:33 +02:00
Johannes Meyer
29f05bf878
NotificationQuery: Provide case-insensitive filter column `service'
...
refs #8613
2015-04-13 15:33:19 +02:00
Johannes Meyer
3653ec810a
NotificationQuery: Provide case-insensitive filter column `host'
...
refs #8613
2015-04-13 15:32:52 +02:00
Johannes Meyer
644a386bf8
NotificationQuery: Use query column `notification_contact_name'
...
...instead of `notification_contact'.
refs #8613
2015-04-13 15:26:06 +02:00
Johannes Meyer
15399d77ce
NotificationQuery: Use query column `service_description' instead of `service'
...
refs #8613
2015-04-13 15:25:10 +02:00
Johannes Meyer
96954ea9a1
NotificationQuery: Use query column `host_name' instead of `host'
...
refs #8613
2015-04-13 15:24:15 +02:00
Johannes Meyer
c10617d409
Servicegroups: Use query column `servicegroup_name' instead of `servicegroup'
...
refs #8613
2015-04-10 16:28:57 +02:00
Johannes Meyer
c59d5ac7d5
Hostgroups: Use query column `hostgroup_name' instead of `hostgroup'
...
refs #8613
2015-04-10 16:28:33 +02:00
Johannes Meyer
e7c1e552a5
EventgridQuery: Make filter column `servicegroup' case-insensitive
...
...and add a case-sensitive query column.
refs #8613
2015-04-10 16:01:22 +02:00
Johannes Meyer
ea16d45aa3
EventgridQuery: Make filter column `hostgroup' case-insensitive
...
...and add a case-sensitive query column.
refs #8613
2015-04-10 16:01:09 +02:00
Johannes Meyer
42e93ffb63
DataView\Eventgrid: Add missing query and filter columns
...
refs #8613
2015-04-10 15:58:55 +02:00
Johannes Meyer
8b2c0191c4
EventgridQuery: Remove COLLATE from query column `service_description'
...
refs #8613
2015-04-10 15:54:55 +02:00
Johannes Meyer
904e91bfa9
EventgridQuery: Remove COLLATE from query column `host_name'
...
refs #8613
2015-04-10 15:54:18 +02:00
Johannes Meyer
629becf2cc
DataView\Servicegroup: Add missing query and filter columns
...
refs #8613
2015-04-10 15:35:24 +02:00
Johannes Meyer
4bc3afaca4
ServicegroupQuery: Make query column `servicegroup_alias' case-insensitive
...
refs #8613
2015-04-10 15:34:55 +02:00
Johannes Meyer
fdd6a4d59b
ServicegroupQuery: Remove COLLATE from query column `servicegroup_name'
...
...and add a case-insensitive alternative called `servicegroup'.
refs #8613
2015-04-10 15:34:28 +02:00
Johannes Meyer
055cd61421
ServicegroupQuery: Remove COLLATE from query column `service_desription'
...
refs #8613
2015-04-10 15:32:47 +02:00
Johannes Meyer
a17c2eddb7
ServicegroupQuery: Remove COLLATE from query column `service_host_name'
...
refs #8613
2015-04-10 15:31:51 +02:00
Johannes Meyer
26f0b46516
ServicegroupQuery: Remove COLLATE from query column `host_name'
...
refs #8613
2015-04-10 15:31:09 +02:00
Johannes Meyer
f61370f55a
DataView\Hostgroup: Add missing query columns
...
refs #8613
2015-04-10 15:21:18 +02:00
Johannes Meyer
69e520a514
HostgroupQuery: Remove COLLATE from query column `host_name'
...
refs #8613
2015-04-10 15:20:19 +02:00
Johannes Meyer
9f075e0691
HostgroupQuery: Remove COLLATE from query column `hostgroup_name'
...
refs #8613
2015-04-10 15:19:55 +02:00
Johannes Meyer
92634a1921
DowntimeQuery: Provide case-insensitive filter column `service_host'
...
refs #8613
2015-04-10 14:25:53 +02:00
Johannes Meyer
5ccf6a7efa
DowntimeQuery: Remove redundant query columns
...
refs #8613
2015-04-10 14:25:26 +02:00
Johannes Meyer
0f0727491e
DowntimeQuery: Make query column `author' case-insensitive
...
refs #8613
2015-04-10 14:24:53 +02:00
Johannes Meyer
1c32d8ebe5
DowntimeQuery: Add _name suffix to the query column `downtime_author'
...
...to indicate that it's a case-sensitive column.
refs #8613
2015-04-10 14:23:05 +02:00
Johannes Meyer
b8efe01170
CustomvarQuery: Remove COLLATE from query columns
...
...and provide case-insensitive filter columns alternatively.
refs #8613
2015-04-10 12:56:18 +02:00
Johannes Meyer
0628efb4cd
ContactgroupQuery: Make query column `contact_email' case-insensitive
...
refs #8613
2015-04-10 12:27:44 +02:00
Johannes Meyer
638eda7773
ContactgroupQuery: Make query column `contact_alias' case-insensitive
...
refs #8613
2015-04-10 12:27:24 +02:00
Johannes Meyer
0fe59aa519
Revert "ContactQuery: Provide ci query columns for aliases and email addresses"
...
This reverts commit f00adc2138
.
Conflicts:
modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
2015-04-10 12:23:35 +02:00
Johannes Meyer
03c8de5d7b
ContactgroupQuery: Provide case-insensitive filter column `service_host'
...
refs #8613
2015-04-10 12:20:28 +02:00
Johannes Meyer
31a05a3ec0
DataView\Contactgroup: Add missing query columns
2015-04-10 12:19:19 +02:00
Johannes Meyer
a51b93ebfb
DataView\Contactgroup: Do not permit querying case-insensitive columns
...
refs #8163
2015-04-10 12:17:52 +02:00
Johannes Meyer
71c013178e
ContactgroupQuery: Make query column `contactgroup_alias' case-insensitive
...
refs #8613
2015-04-10 12:14:11 +02:00
Johannes Meyer
6536878d5d
ContactgroupQuery: Remove COLLATE from query column `contact_name'
...
refs #8613
2015-04-10 12:13:23 +02:00
Johannes Meyer
1dc16a1ab6
ContactgroupQuery: Remove COLLATE from query column `contactgroup_name'
...
refs #8613
2015-04-10 12:12:50 +02:00
Johannes Meyer
3d7e418032
ContactQuery: Provide case insensitive filter column `service_host'
...
refs #8613
2015-04-10 09:50:26 +02:00
Johannes Meyer
6d03b2fe8f
DataView\Contact: Add missing filter columns
...
refs #8613
2015-04-10 09:49:47 +02:00
Johannes Meyer
0ec1a18844
ContactQuery: Fix query column `service' not referencing a service's name
...
refs #8613
2015-04-10 09:48:22 +02:00
Johannes Meyer
52dcecfd08
ContactQuery: Change query column `contact_name' to be case sensitive
...
...and provide `contact' as case-insensitive alternative.
refs #8613
2015-04-10 09:46:41 +02:00
Johannes Meyer
f00adc2138
ContactQuery: Provide ci query columns for aliases and email addresses
...
refs #8613
2015-04-10 09:45:23 +02:00
Johannes Meyer
ea874f8402
*historyQuery: Remove COLLATE from `host_name' and `service_description'
...
refs #8613
2015-04-09 15:29:01 +02:00
Johannes Meyer
51bf5cfbc8
*historyQuery: Drop redundant query columns
...
refs #8613
2015-04-09 15:13:59 +02:00
Johannes Meyer
9e79419eb1
EventHistoryQuery: Provide `hostgroup_name' as alternative to `hostgroup'
...
This can't be queried though until #7274 has been resolved.
refs #8613
2015-04-09 14:44:10 +02:00
Johannes Meyer
ec67c28629
DataView\EventHistory: Do not permit `host' and `service' to be queried
...
refs #8613
2015-04-09 14:41:10 +02:00
Johannes Meyer
b7e1c2d518
EventHistoryQuery: Remove COLLATE from the column `service_description'
...
refs #8613
2015-04-09 14:40:12 +02:00
Johannes Meyer
ae10e01ed6
EventHistoryQuery: Remove COLLATE from the column `host_name'
...
refs #8613
2015-04-09 14:39:47 +02:00
Johannes Meyer
2c38ccda5c
EventHistoryQuery: Drop column `service_host_name'
...
refs #8613
2015-04-09 14:19:31 +02:00
Johannes Meyer
bc6a086ff8
DataView\Comment: Do not permit `comment_author' to be queried
...
refs #8163
2015-04-09 13:08:49 +02:00
Johannes Meyer
5372dfb7f1
Fetch a comment's author using `comment_author_name'
...
refs #8613
2015-04-09 13:07:50 +02:00
Johannes Meyer
21c76010d4
CommentQuery: Add `comment_author_name' as additional query column
...
refs #8613
2015-04-09 13:06:38 +02:00
Johannes Meyer
8ed1c8eeb6
DataView\Comment: Add `service_host_name' as allowed query column
...
refs #8613
2015-04-09 12:56:31 +02:00
Johannes Meyer
002b820835
CommentQuery: Provide `service_host' additionally to `service_host_name'
...
refs #8613
2015-04-09 12:55:57 +02:00
Johannes Meyer
480f5516d6
DataView\Comment: Do not permit querying `host' and `service'
...
refs #8613
2015-04-09 12:53:28 +02:00
Johannes Meyer
cb95f53dba
CommentQuery: Fetch and display object names with their initial collation
...
i.e. `host_name' instead of `comment_host' alias `host'
and `service_description' instead of `comment_service' alias `service'.
refs #8613
2015-04-09 12:49:06 +02:00
Johannes Meyer
f7550f55c1
Permit to filter hosts and services by hostgroup_name and servicegroup_name
...
refs #8613
2015-04-09 11:41:56 +02:00
Matthias Jentsch
878ef05896
Fix "show all downtimes" links
...
refs #8565
2015-04-09 11:19:13 +02:00
Johannes Meyer
09ab601942
Require `service_description' instead of `service' to show a particular service
...
`service' implies that it is possible to provide case-less identifiers which is
*not* possible.
refs #8613
2015-04-08 16:49:52 +02:00
Johannes Meyer
b93d18a0fc
Require `host_name' instead of `host' to show or list particular objects
...
`host' implies that it is possible to provide case-less identifiers which is
*not* possible.
refs #8613
2015-04-08 16:25:29 +02:00
Alexander A. Klimov
20b09d3bda
Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController
2015-04-08 15:13:59 +02:00
Johannes Meyer
c56c5655bd
Do not permit querying columns with changed collation and a valid alternative
...
refs #8613
2015-04-08 14:51:04 +02:00
Johannes Meyer
9557585f6a
Add an additional column for servicegroup names with unchanged collation
...
refs #8613
2015-04-08 14:49:18 +02:00
Johannes Meyer
c476ee6855
Add an additional column for hostgroup names with unchanged collation
...
refs #8613
2015-04-08 14:42:57 +02:00
Johannes Meyer
98c76a693e
Do not adjust the collation when querying service descriptions
...
refs #8613
2015-04-08 14:41:13 +02:00
Johannes Meyer
b449127680
Do not adjust the collation when querying host names
...
refs #8613
2015-04-08 14:40:34 +02:00
Matthias Jentsch
9ac89edb86
Add filter to summary links
...
Add the multiselection filter as a base filter to the state summary, to ensure that the summary links only selected services.
refs #8565
2015-04-07 18:00:36 +02:00
Matthias Jentsch
46da404452
Add docstrings to ObjectList and coding style
2015-04-07 16:34:20 +02:00
Matthias Jentsch
1c5a091584
Generate filter in host and service lists
...
refs #8565
2015-04-07 16:29:10 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Matthias Jentsch
5619ac960c
Add inline pies to host and service back to multi-select views
...
Add old inline pie code and visualize handled/unhandled state.
refs #8565
2015-04-02 16:25:20 +02:00
Eric Lippmann
06d9e4113c
Fix that sending multiple commands over SSH failed
...
The config object has to cloned before unsetting the transport because else the
transport is removed for all subsequent calls to CommandTransport::fromConfig().
fixes #8815
2015-04-01 13:53:44 +02:00
Matthias Jentsch
b0b0ae157c
Turn prepareStateName into more generic string utility function
...
refs #8565
2015-03-31 16:45:21 +02:00
Eric Lippmann
ab1dc1faa0
Do not translate format strings
2015-03-30 11:28:05 +02:00
Eric Lippmann
0a7e76d190
Fix typo in Perfdata::formatLabel()'s PHPDoc
2015-03-30 11:27:17 +02:00
Eric Lippmann
f1cdc8c904
Sort host and service overview by display_name by default
...
refs #8716
2015-03-13 17:19:56 +01:00
Eric Lippmann
dbb5aba737
Sort by host_display_name too when sorting by host_severity
...
refs #8716
2015-03-13 17:14:14 +01:00
Eric Lippmann
03d85ac6ae
Sort by service_display_name too when sorting by service_severity
...
refs #8716
2015-03-13 17:13:52 +01:00
Eric Lippmann
7ddd8d7ad2
Add support for order next to the column to DataView::getSortRules()
...
refs #8716
2015-03-13 17:12:16 +01:00
Eric Lippmann
e17f9d7ebe
Sort host overview by severity by default ...
...
... as indicated by the sort control.
2015-03-13 17:08:36 +01:00
Eric Lippmann
32487e4e21
Ignore settings from instances.ini that don't have a setter on the transport class used
...
fixes #8543
2015-03-13 03:41:33 +01:00
Eric Lippmann
1c8c49e732
Select service_is_reachable in the service detail view
...
refs #6875
2015-03-13 00:26:02 +01:00
Eric Lippmann
37823f0415
Select host_is_reachable in the host detail view
...
refs #6875
2015-03-13 00:25:44 +01:00
Eric Lippmann
a4731ebbb3
Select is_reachable from host and service status
...
refs #6875
2015-03-13 00:25:08 +01:00
Eric Lippmann
be041435d3
Merge branch 'bugfix/unnecessary-joins-8614'
...
fixes #8614
2015-03-12 16:47:10 +01:00
Marius Hein
cb28f00c4d
Merge branch 'master' into feature/custom-notification-command-8644
2015-03-12 16:45:57 +01:00
Eric Lippmann
53626ccfeb
Merge branch 'master' into bugfix/unnecessary-joins-8614
2015-03-12 16:40:16 +01:00
Eric Lippmann
7156bd7dfb
Fetch object comments by host_name and service_description
...
refs #8614
2015-03-12 16:39:20 +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
Marius Hein
df3d81e181
SendCustomNotificationCommand: Update phpdoc strings
...
refs #8644
2015-03-12 16:30:11 +01:00
Eric Lippmann
8563d5ed3f
PHPDoc: Use @var instead of @type
...
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Marius Hein
ddc8dd5d4c
Add command send custom notification to monitoring module
...
refs #8644
2015-03-12 16:08:22 +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
361afdcf13
Use ! empty in favor of count > 0 in the MonitoredObjectController
...
refs #8614
2015-03-11 14:08:43 +01:00
Eric Lippmann
2286ab1846
Merge branch 'master' into bugfix/unnecessary-joins-8614
2015-03-11 13:38:07 +01:00
Eric Lippmann
0286641369
Don't fetch comments and downtimes twice in an object's detail view
...
The controller counts comments and downtimes on the object, which will automatically fetch comments and downtimes.
After that came a call to MonitoredObject::populate() which again fetched comments and downtimes.
Now the object is populated before counting comments and dowtimes.
refs #8614
2015-03-11 13:32:54 +01:00
Eric Lippmann
b501fef62b
Rearrange columns in the Host object
...
refs #8614
2015-03-11 13:10:55 +01:00
Eric Lippmann
ef4970c0c1
Don't select host_process_performance_data twice in the host detail view
...
refs #8614
2015-03-11 13:08:53 +01:00
Eric Lippmann
84f56f4e51
Don't select host_problem in the host detail view
...
The column host_problem is not used in the host detail view.
refs #8614
2015-03-11 13:08:11 +01:00
Eric Lippmann
37d09511c6
Don't select host_modified_host_attributes in the host detail view
...
The column host_modified_host_attributes is not used in the host detail view.
refs #8614
2015-03-11 13:07:33 +01:00
Eric Lippmann
e72670cb75
Use default sorting for an object's event history
...
refs #8614
2015-03-11 13:01:14 +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
132ae9e44c
Use {@inheritdoc} in the Comment data view ...
...
... instead of duplicating method documentation.
refs #8614
2015-03-11 12:57:43 +01:00
Eric Lippmann
5ed6838f50
Don't select host_display_name twice in the service detail view
...
refs #8614
2015-03-10 14:18:08 +01:00
Eric Lippmann
e6949eaab4
Reorder columns to select in the Service object
...
refs #8614
2015-03-10 14:17:09 +01:00
Eric Lippmann
fcb94af93c
Don't select service_process_performance_data twice in the service detail view
...
refs #8614
2015-03-10 14:11:50 +01:00
Eric Lippmann
e0acebf474
Don't select service_host_name in the service detail view
...
We already select the host_name.
refs #8614
2015-03-10 14:09:53 +01:00
Eric Lippmann
62f0f5b6a4
Don't select service_modified_service_attributes in the service detail view
...
The column service_modified_service_attributes is not used in the service detail view.
refs #8614
2015-03-10 14:00:17 +01:00
Eric Lippmann
87e5bdfa4c
Do not select columns for check attempt twice in the service detail view
...
The column service_attempt is used in favor of service_current_check_attempt and service_max_check_attempts.
refs #8614
2015-03-10 13:47:20 +01:00
Eric Lippmann
0cc6b5d0c2
Don't select service_last_time_* in the service detail view
...
The columns service_last_time_ ok, warning, critical and unknown are not used in the service detail view.
refs #8614
2015-03-10 13:46:09 +01:00
Eric Lippmann
70ef6263b2
Don't select service_last_hard_state* in the service detail view
...
The columns service_last_hard_state and service_last_hard_state_change are not used in the service detail view.
refs #8614
2015-03-10 13:45:20 +01:00
Eric Lippmann
88dce0c1f4
Don't select host and service columns in the service detail view
...
The columns host and service are not used in the service detail view.
refs #8614
2015-03-10 13:42:53 +01:00
Eric Lippmann
3bbd68dc95
Don't select service_problem in the service detail view
...
The column service_problem is not used in the service detail view.
refs #8614
2015-03-10 13:38:12 +01:00
Eric Lippmann
4e308016bf
Don't select service_hard_state in the service detail view
...
The column service_hard_state is not used in the service detail view.
refs #8614
2015-03-10 13:37:40 +01:00
Eric Lippmann
d65aa39ebd
Don't select host_modified_host_attributes in the service detail view
...
The column host_modified_host_attributes is not used in the service detail view.
refs #8614
2015-03-10 13:33:17 +01:00
Eric Lippmann
34ad174f89
Don't select host_last_time_* in the service detail view
...
The columns host_last_time_ up, down and unreachable are not used in the service detail view.
refs #8614
2015-03-10 13:32:28 +01:00
Eric Lippmann
2cbeab55da
Don't select host_last_hard_state* in the service detail view
...
The columns host_last_hard_state and host_last_hard_state_change are not used in the service detail view.
refs #8614
2015-03-10 13:31:32 +01:00
Eric Lippmann
232b3d3a9f
Don't select host_perfdata in the service detail view
...
The column host_perfdata is not used in the service detail view.
refs #8614
2015-03-10 13:30:03 +01:00
Eric Lippmann
e1dbe0b9a7
Don't select host_severity in the service detail view
...
The column host_severity is not used in the service detail view.
refs #8614
2015-03-10 13:29:39 +01:00
Eric Lippmann
9146a62573
Don't select host_ipv4 in the service detail view
...
The column host_ipv4 is not used in the service detail view.
refs #8614
2015-03-10 13:28:44 +01:00
Eric Lippmann
5f57e290c7
Don't select host_notes_url in the service detail view
...
The column host_notes_url is not used in the service detail view.
refs #8614
2015-03-10 13:27:07 +01:00
Eric Lippmann
0f65f83374
Don't select host_action_url in the service detail view
...
The column host_action_url is not used in the service detail view.
refs #8614
2015-03-10 13:26:47 +01:00
Eric Lippmann
b9ec2844f5
Don't select host_unhandled_services in the service detail view
...
The column host_unhandled_services is not used in the service detail view.
refs #8614
2015-03-10 13:25:25 +01:00
Eric Lippmann
4102ee290b
Don't select host_last_check in the service detail view
...
The column host_last_check is not used in the service detail view.
refs #8614
2015-03-10 13:22:28 +01:00
Eric Lippmann
151d87f38c
Don't select host_is_flapping in the service detail view
...
The column host_is_flapping is not used in the service detail view.
refs #8614
2015-03-10 13:19:37 +01:00
Eric Lippmann
da7f959db5
Don't select host_long_output in the service detail view
...
The column host_long_output is not used in the service detail view.
refs #8614
2015-03-10 13:09:59 +01:00
Eric Lippmann
9dc6e65e5f
Don't select host_output column in the service detail view
...
The column host_output is not used in the service detail view
refs #8614
2015-03-10 13:05:54 +01:00
Eric Lippmann
6d78ab69ef
Don't select service_severity column in the service detail view
...
The column service_severity is not used in the service detail view.
refs #8614
2015-03-10 13:03:55 +01:00
Eric Lippmann
2ba5e8eb0c
Don't select service_unhandled column in the service detail view
...
The column service_unhandled is not used in the service detail view.
refs #8614
2015-03-10 13:02:57 +01:00
Eric Lippmann
b2bb5af0a7
Don't select host_problem in the service detail view
...
The column host_problem is not used in the service detail view.
refs #8614
2015-03-10 13:01:41 +01:00
Johannes Meyer
f4446cbade
Add todo to the MonitoringWizard related to the livestatus backend type
...
The requirement should be added to the OR-set that has currently both
ido requirement sets so that livestatus may the only choice again.
refs #8254
2015-03-10 11:00:51 +01:00
Eric Lippmann
af4bce3557
Do not select icon_image columns in the service detail view
...
The columns host_icon_image and service_icon_image are not used in the service detail view.
refs #8665
refs #8614
2015-03-10 10:00:07 +01:00
Eric Lippmann
330b575c7c
Remove duplicate service_last_check column from the service detail view select
...
refs #8614
2015-03-10 09:58:36 +01:00
Eric Lippmann
2d3fec9a42
Do not select host_state_type in the service detail view
...
The column host_state_type is not used in the service detail view.
refs #8614
2015-03-10 09:57:51 +01:00
Johannes Meyer
bc450c573d
Refactor and fix requirement evaluation
...
refs #8508
2015-03-10 09:12:06 +01:00
Johannes Meyer
e80786d63d
Rename Requirements to RequirementSet
...
refs #8508
2015-03-09 09:05:56 +01:00
Matthias Jentsch
266e781a93
Deduplicate Hosts and Services-Controller
...
Create functions in abstract class for filtering hosts and services, instead of reimplementing it in the controller.
2015-03-06 17:52:06 +01:00
Matthias Jentsch
1cfcb934b0
Deduplicate state summary
...
Use existing partials for rendering the state summary instead of a new one.
refs #8565
2015-03-06 17:30:59 +01:00
Eric Lippmann
7317aa7158
Do not join hosts when fetching a service's downtimes
...
refs #8614
2015-03-06 13:14:20 +01:00
Eric Lippmann
db99c323cc
Add host and service name columns to the Downtime data view
...
refs #8614
2015-03-06 13:13:48 +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
64d1d12c73
Do not join icinga_hosts when fetching a service's contact groups
...
refs #8614
2015-03-06 10:02:20 +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
551207b5b8
Add grouped database dependencies to the monitoring wizard
...
refs #8508
2015-02-26 10:50:45 +01:00
Johannes Meyer
04630a20be
Implement all known requirements as object
...
refs #8508
2015-02-25 13:39:59 +01:00
Johannes Meyer
f6cbc17ff7
Add proper titles to all host/service tabs
...
refs #8458
2015-02-23 16:56:49 +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
5b5ad0acb9
monitoring/security: Add missing permission checks of command actions
2015-02-03 17:36:53 +01:00
Eric Lippmann
49e96b7200
Revert "monitoring/security: Guard delete comment action"
...
This reverts commit 4ef5f0c813
.
2015-02-03 16:51:00 +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
4ef5f0c813
monitoring/security: Guard delete comment action
2015-02-03 16:11:56 +01:00
Eric Lippmann
d701f9a354
monitoring/security: Guard delete downtime action
2015-02-03 16:11:29 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Thomas Gelf
b54a12c2d5
HostActionsHook: document the new hook
2015-02-02 18:17:30 +01:00
Thomas Gelf
45bf071db6
HostActionsHook: initial very simple implementation
...
refs #8208
2015-02-02 17:44:29 +01:00
Johannes Meyer
8b377cd651
Use the new command-view scripts
2015-02-02 16:30:52 +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
Johannes Meyer
bf470125c3
Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
...
Conflicts:
modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Johannes Meyer
6416fc421c
Do not create directories which are created automatically if necessary
...
refs #8219
2015-01-30 15:43:39 +01:00
Johannes Meyer
e8619686ae
Add the sockets module as optional requirement of the monitoring module
2015-01-30 13:01:51 +01:00
Johannes Meyer
63305fdf9a
Add Icinga\Application\Config::saveIni()
...
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.
refs #8219
2015-01-30 09:32:08 +01:00
Eric Lippmann
7bf6bd39e9
monitoring: Implement Filterable in MonitoredObject
2015-01-27 14:54:21 +01:00
Eric Lippmann
e086905384
monitoring: Deprecate DataView::addFilter() and DataView::setFilter()
...
The from now on deprecated interface Filterable has proven that it sucks in the DataView.
Because of requiring us to implement trillion stupid methods, only DataView::applyFilter()
does not forget to handle column validation. Thus only DataView::applyFilter() must be used in order
to apply filters.
For setFilter() a wrapping Filter::matchAny() for the IdoQuery (or the DbQuery or the SimpleQuery I didn't have a look)
is required for the filter to work properly.
The deprecation is just for the records. I guess we do not use the other methods.
2015-01-27 14:52:13 +01:00
Eric Lippmann
b2f93abb12
monitoring/security: Require a Filterable instead of a DataView in applyRestriction()
2015-01-27 14:24:56 +01:00
Eric Lippmann
3cbafe16f6
monitoring/security: Move applyRestriction() to the module's base controller
2015-01-27 14:22:37 +01:00
Eric Lippmann
405e18a46f
monitoring: Fix PHPDoc for MonitoringBackend::from()
2015-01-27 13:37:28 +01:00
Eric Lippmann
910065436b
monitoring: Support hostgroup_alias and servicegroup_alias filter
2015-01-23 15:47:18 +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
Johannes Meyer
a07bff490f
Fix that the monitoring module's config directory is not being created
...
Forgot to re-add this when reverting a temporary change while adjusting
the module installation as part of #8191 .
2015-01-23 15:31:45 +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
5967d5fe04
monitoring/security: Hide delete downtime action if user lacks the respective permission
2015-01-22 17:35:34 +01:00
Eric Lippmann
a19c155d9f
monitoring/security: Hide delete comment action if user lacks the respective permission
2015-01-22 17:33:20 +01:00
Eric Lippmann
4226f06d5d
monitoring: Remove unused variable in the MonitoredObjectController
2015-01-22 17:28:33 +01:00
Eric Lippmann
f46a587266
monitoring/security: Hide 'Remove Problem Acknowledgement' action if user lacks the respective permission
2015-01-22 17:25:30 +01:00
Eric Lippmann
a09ba15859
monitoring/security: Hide 'Check Now' action if user lacks the respective permission
2015-01-22 17:13:35 +01:00
Eric Lippmann
251030e1d8
monitoring: Rename remove-downtime to delete-downtime
2015-01-22 16:03:22 +01:00
Eric Lippmann
ba7818db5f
monitoring: Restrict delete downtime and delete comment to HTTP POST
2015-01-22 15:49:40 +01:00
Johannes Meyer
6845480b5f
Fix that strtoupper can't handle non ascii chars
...
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.
fixes #8163
2015-01-22 14:37:07 +01:00
Johannes Meyer
afd58d52bf
Merge branch 'master' into feature/more-intuitive-module-installation-8191
2015-01-22 13:33:45 +01:00
Eric Lippmann
1aa91f0228
monitoring: Select host and service display_name for an object's history
...
refs #7843
2015-01-22 10:57:15 +01:00
Eric Lippmann
4539462bc7
monitoring: Select host_display_name in the host and service object
...
refs #7843
2015-01-22 10:34:35 +01:00
Eric Lippmann
3055531e2d
monitoring: Support sorting by host and service display name in the Comment data view
...
refs #7843
2015-01-21 16:15:09 +01:00
Eric Lippmann
94be58e121
monitoring: Support host and service display_name columns in the Comment data view
...
refs #7843
2015-01-21 16:09:36 +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
ad879b1ee6
monitoring: Select the host and service display_name columns in the Notification data view
...
refs #7843
2015-01-21 15:47:36 +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
Johannes Meyer
96390d34bf
Enable modules as part of the main installation routine
...
refs #8191
2015-01-21 15:03:34 +01:00
Eric Lippmann
0bcca651b2
monitoring: Remove useless PHPDoc in the NotificationQuery
2015-01-21 13:12:26 +01:00
Johannes Meyer
1f6a81aefb
Add Wizard::skipPage()
...
Required to not to duplicate code in custom wizards and to avoid errors
when detecting the direction.
refs #8191
2015-01-21 13:07:08 +01:00
Eric Lippmann
91b7c31cda
monitoring: Support sorting downtimes by host and service display_name
...
refs #7843
2015-01-21 13:06:03 +01:00
Eric Lippmann
5862fc98a5
monitoring: Sort by 'downtime_scheduled_start' too when sorting by 'Is In Effect'
2015-01-21 12:58:46 +01:00
Eric Lippmann
5f0b809619
monitoring: Support host and service display_name columns in the Downtime data view
...
refs #7843
2015-01-21 12:52:58 +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
Johannes Meyer
573c1046bb
Ensure that the SummaryPage has a unique name when being utilized
...
refs #8191
2015-01-21 11:44:44 +01:00
Eric Lippmann
e881a0de33
monitoring: Remove useless PHPDoc in the DowntimeQuery
2015-01-21 10:35:10 +01:00
Eric Lippmann
3e702ac255
monitoring: Support host and service display_name in the EventHistory data view
...
refs #7843
2015-01-21 10:28:21 +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
c77996d5b9
monitoring: Sort the services overview by service severity by default
2015-01-21 09:37:45 +01:00
Eric Lippmann
eb6591c176
Merge branch 'master' into bugfix/prefer-display_name-over-name1-name2-7843
2015-01-21 09:36:41 +01:00
Eric Lippmann
5df6828889
monitoring: Remove ununsed sort rule in the ServiceStatus
2015-01-21 09:31:38 +01:00
Eric Lippmann
e602717bd9
monitoring: Sort by display_names instead of name1 and name2 by default in the services overview
...
refs #7843
2015-01-21 09:15:07 +01:00
Eric Lippmann
9e8c897d6f
monitoring: Order a data view before dumping
2015-01-21 09:13:10 +01:00
Eric Lippmann
ab7a5763a6
monitoring: Sort by host_display_name instead of name1 by default
...
refs #7843
2015-01-20 16:21:56 +01:00
Eric Lippmann
680b7e4eba
monitoring: Prever 'Hostname' over 'Host name' in PHPDoc
2015-01-20 16:11:41 +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
0c35607e37
Merge branch 'bugfix/postgres-wrong-default-timestamps-7919'
...
fixes #7919
2015-01-19 13:51:19 +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
64d4bb089c
monitoring/setup: Remove function for getting the configuration directory
...
Getting the config directory is not a task for module wizards.
2015-01-19 11:43:39 +01:00
Eric Lippmann
abc74c7fb5
monitoring/setup: Fix directory mode of the monitoring configuration directory
...
We should introduce a CreateConfigDirectoryStep because module developers must not
provide a directory mode but use our default.
2015-01-19 11:43:38 +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
Matthias Jentsch
5e2594d250
Parse perfdata thresholds provisionary
...
Use a heuristic to determine whether thresholds should be inverted, to support plugins with non-standard perfdata output while still being able to parse standard-compliant perfdata input.
2015-01-13 10:59:33 +01:00
Matthias Jentsch
b5747797b7
Fix perfdata output
...
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Eric Lippmann
a781b8c607
monitoring: Remove the top bar hook
...
No longer in use.
2014-12-30 10:52:57 +01:00
Eric Lippmann
3bd24c48ff
monitoring: Do not provide export when viewing a monitored object
...
This is simply not possible at the moment.
2014-12-29 17:54:39 +01:00
Eric Lippmann
e376bd6285
monitoring: Fix that exporting a object's history throws an exception
...
fixes #6586
2014-12-29 17:54:09 +01:00
Matthias Jentsch
41c101d99f
Use neutral default color in perfdata piecharts
...
If nothing is known about the state of the monitoring object, the piecharts should neither indicate OK nor Critical.
2014-12-23 16:12:25 +01:00
Matthias Jentsch
c93b13b138
Rework behavior of perfdata visualization
...
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.
fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +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
5b1e9be316
Make command parameters with multiple lines work, again
...
fixes #6088
2014-12-18 15:41:35 +01:00
Johannes Meyer
cee68877a9
ProcessCheckResultCommand: Indicate a incompatibility with icinga2
...
Should be solved by checking the backend's version on runtime
2014-12-11 15:56:23 +01:00
Johannes Meyer
abfef2cc11
Fix wrong command being rendered for passive service check results
...
refs #6854
2014-12-11 15:53:12 +01:00
Carlos Cesario
8d8b65473a
Add translation to some strings
...
Thank you Carlos.
resolves #7787
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Johannes Meyer
2b14dbaff3
Fix the groupsummarie's grouping in case of PostgreSQL
...
fixes #7859
2014-12-01 14:36:46 +01:00
Eric Lippmann
c626762b5d
commands: Fix wrong flag for sticky acks
...
It's 2 not 1. But who knows why :)
fixes #7783
2014-11-21 16:33: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
Bernd Erk
07c0180b1c
Merge branch 'master' into feature/redesign-7144
2014-11-18 16:36:19 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Bernd Erk
f83bcbfd2b
updates current font set and changes service and reporting icons
2014-11-17 17:08:08 +01:00
Bernd Erk
e44086cb9f
Fixes service and config icons
2014-11-17 17:08:08 +01:00
Thomas Gelf
a8a7da4ade
Object\Host: not-so-nice workaround, LS contancts
2014-11-16 19:28:08 +01:00
Thomas Gelf
5bb3165da3
MonitoredObjectController: history only if available
2014-11-16 19:26:45 +01:00
Thomas Gelf
7f22afbc21
MonitoredObject: temporary livestatus workaround
2014-11-16 19:24:37 +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
Thomas Gelf
92c059a0d7
Livestatus\HostgroupQuery: initial commit
2014-11-16 18:53:41 +01:00
Thomas Gelf
42efbf0892
Livestatus\StatusSummaryQuery: initial implementation
2014-11-16 17:12:25 +01:00
Thomas Gelf
7eb960ea0b
Livestatus\StatusQuery: a couple of munge methods
2014-11-16 16:40:15 +01:00
Thomas Gelf
b494476ebc
Livestatus\StatusQuery: make use of new filter flags
...
NIIIIICEEEE!!
2014-11-16 16:39:41 +01:00
Thomas Gelf
b6b78e4fcd
Livestatus\StatusQuery: add LOTS of columns...
...
...still a little bit ugly, I'm in a hurry right now
2014-11-16 16:39:01 +01:00
Thomas Gelf
1a4bf609a2
Livestatus\StatusQuery: remove obsolete method
2014-11-16 16:37:33 +01:00
Thomas Gelf
6d362b0606
Livestatus\StatusQuery: should know about it's table
2014-11-16 16:36:47 +01:00
Thomas Gelf
7b73215868
Livestatus\StatusQuery: add terribly setMode method
2014-11-16 15:18:10 +01:00
Thomas Gelf
fa20ced0c2
LiveStatus\StatusQuery: should be a Livestatus\Query
2014-11-16 15:05:36 +01:00
Thomas Gelf
e89d4642e3
Merge remote-tracking branch 'origin/master' into feature/livestatus-playground-4787
2014-11-16 10:12:34 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Alexander Fuhr
038964a325
Add tinystatesummary for hosts overview
2014-11-14 16:50:34 +01:00
Johannes Meyer
3166c518e1
Rename Icinga\Module\Monitoring\Form to Icinga\Module\Moni...\Forms
...
refs #7553
2014-11-14 11:17:22 +01:00
Johannes Meyer
d64ec0aa3c
Rename Icinga\Module\Setup\Form to Icinga\Module\Setup\Forms
...
refs #7553
2014-11-14 11:01:16 +01:00
Bernd Erk
903219b302
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
library/Icinga/Web/Menu.php
public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Bernd Erk
20be45e8da
Enable icon font
2014-11-13 20:08:58 +01:00
Matthias Jentsch
022d89254f
Fix tab, navigation and menu names
2014-11-13 18:38:42 +01:00
Johannes Meyer
7aae291f69
Merge branch 'master' into feature/setup-wizard-7163
2014-11-12 10:08:28 +01:00
Johannes Meyer
4992140326
Hardcode the access mode to use when creating files
...
refs #7163
2014-11-12 09:39:18 +01:00
Johannes Meyer
ca66480ba7
Hardcode the access mode to use when creating directories
...
refs #7163
2014-11-12 09:18:19 +01:00
Thomas Gelf
f24b0e2a4e
MonitoringBackend: a few more places, doesn't hurt
2014-11-12 00:20:37 +01:00
Thomas Gelf
4876854893
Monitoring\ObjectList: expect a MonitoringObject
2014-11-12 00:16:07 +01:00
Thomas Gelf
e96ecc5271
LivestatusBackend: just an empty backend
2014-11-11 18:06:50 +01:00
Thomas Gelf
1ca83c001f
MonitoringBackend: just a few comments
...
fixes #7635
2014-11-11 17:33:31 +01:00
Thomas Gelf
78fd5109ac
MonitoringBackend: fix variable name in exception
...
refs #7635
2014-11-11 17:23:49 +01:00
Thomas Gelf
9431a3432f
MonitoringBackend: remove comment for SOLID fanboys
2014-11-11 17:21:32 +01:00
Thomas Gelf
8faf81dad5
MonitoringBackend: add clearInstances()
...
refs #7635
2014-11-11 16:57:34 +01:00
Thomas Gelf
6c0aa8dcc5
MonitoringBackend: handle null name in a nice way
...
When we get null as a backend name, we load the default one. While we
want to cache that null backend, it should still know about it's real
name.
2014-11-11 16:49:56 +01:00
Thomas Gelf
3f4110d33d
MonitoredObject: use MonitoringBackend::instance
...
refs #7635
2014-11-11 16:43:51 +01:00
Thomas Gelf
6627b5ae6e
Monitoring\Object: use MonitoringBackend
...
refs #7635
2014-11-11 16:29:07 +01:00
Thomas Gelf
1557410b72
DataView: query instantiation is up to the backend
...
refs #7635
2014-11-11 15:49:27 +01:00
Thomas Gelf
11f587aa09
Monitoring\Backend: reduce to compat facade
...
This is a facade for Monitoring\Backend right now. To be removed as soon
as it got replaced everywhere.
refs #7635
2014-11-11 15:46:17 +01:00
Thomas Gelf
50b0ef45ff
IdoBackend: concrete backend implementation
...
Nothing special to be found here. Not yet.
refs #7635
2014-11-11 15:44:39 +01:00
Thomas Gelf
19ab8237d4
Backend\MonitoringBackend: base class for backends
...
refs #7635
2014-11-11 15:40:38 +01:00
Johannes Meyer
4974f582d3
Add page titles
...
refs #7163
2014-11-11 15:27:14 +01:00
Johannes Meyer
af99f62843
Prefer Icinga\Application\Config over Zend_Config
...
refs #7163
2014-11-11 12:11:14 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
6b2f434f32
Do not use Installer anywhere. ²
...
"It's setup."
refs #7163
2014-11-10 16:53:28 +01:00
Johannes Meyer
21ed823da7
Adjust namespace declarations
...
refs #7163
2014-11-10 16:31:40 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer
f1b6a82387
Make it optional to define protected custom variables
...
fixes #7590
2014-11-07 15:05:08 +01:00
Johannes Meyer
124f64ad89
Merge branch 'master' into bugfix/drop-zend-config-7147
2014-11-07 14:07:15 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Thomas Gelf
74e60ec0f6
MonitoredObject: decode structured customvars
...
fixes #7569
2014-11-06 16:15:16 +01:00
Thomas Gelf
816c309193
Ido\CustomvarQuery: add is_json
...
This has to be done in a backward compatible way, we check for IDO
>= 1.12.0.
refs #7569
2014-11-06 16:14:03 +01:00
Thomas Gelf
2782b0a744
Dataview\Customvar: add new is_json column
...
refs #7569
2014-11-06 16:13:17 +01:00
Marius Hein
cd9e3693e4
Downtime: Add filter editor and preview
...
resolves #7445
2014-11-06 13:22:38 +01:00
Johannes Meyer
5a169ee656
Fix "PreservingIniWriter not found"
...
The class was renamed a few commits ago to "IniWriter"
2014-11-04 14:35:57 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Thomas Gelf
18bd49e636
Monitoring/Object: re-add process_perfdata
...
We would live better with unique column names on hosts and services
* Got introduced in 6095e440
and removed in c0e34473
* This might be a canditate for a regression test, as only graphers (PNP) are using this columns right now
* It makes IMO absolutely no sense to keep all those long column names in that object classes
2014-11-01 01:47:55 +01:00
Alexander Fuhr
f095489017
Fix multiple contacts display in service and host detail pane
...
fixes #7329
2014-10-31 11:34:48 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
c1bff9a26e
Merge branch 'master' into feature/setup-wizard-7163
2014-10-30 10:38:21 +01:00
Eric Lippmann
0bf6dc24a8
monitoring: Use command transports constants in the command transport factory
2014-10-30 09:53:55 +01:00
Johannes Meyer
3fc07496bc
Remove RequirementPage from the monitoring module wizard
...
refs #7163
2014-10-29 16:26:09 +01:00
Johannes Meyer
2f05ed3d49
Add monitoring module wizard
...
refs #7163
2014-10-29 15:40:34 +01:00
Eric Lippmann
eb9fe0966b
monitoring: Remove unnecessary break after throwing an exception
2014-10-29 13:37:20 +01:00
Eric Lippmann
d9194c2696
monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state
2014-10-29 13:36:24 +01:00
Eric Lippmann
8ee52f8737
monitoring: throw meaningful logic exceptions in the command file classes
2014-10-29 11:36:00 +01:00
Eric Lippmann
e7ef1826b7
monitoring: Don't translate exception messages in the remote command file
2014-10-29 10:00:59 +01:00
Eric Lippmann
1cc1521607
monitoring: Don't translate exception messages in the local command file
2014-10-29 10:00:29 +01:00
Eric Lippmann
12cadb52ca
Command transport: Show helpful exception messages
...
refs #7437
2014-10-24 11:45:58 +02:00