Eric Lippmann
d463a86304
monitoring: Apply restriction on notifications before calling filterQuery which also handles format
...
refs #9965
2015-08-21 11:16:53 +02:00
Eric Lippmann
5d325f3182
monitoring: Apply restriction on downtimes before calling filterQuery which also handles format
...
refs #9965
2015-08-21 11:16:02 +02:00
Eric Lippmann
4aa0af5dca
monitoring: Apply restriction on services before calling filterQuery which also handles format
...
refs #9965
2015-08-21 11:15:32 +02:00
Eric Lippmann
67bbc3ed6a
monitoring: Apply restriction on hosts before calling filterQuery which also handles format
...
refs #9965
2015-08-21 11:14:43 +02:00
Eric Lippmann
fc28088dc0
monitoring: Remove deprecated method ListController::applyRestriction()
2015-08-21 11:09:54 +02:00
Johannes Meyer
c395dbd813
Wizard: Add missing progress element to custom form scripts
...
refs #8369
2015-08-21 10:35:10 +02:00
Matthias Jentsch
44271471e3
Allow declarative definitions of badge renderers and improve interface
...
Allow the data backend, columns and generated tooltips to be defined in the configuration instead of providing subclasses for every new configuration. Provide an abstract BadgeMenuItemRenderer that allows creating Badges with less boilerplate.
fixes #9694
2015-08-20 18:16:33 +02:00
Johannes Meyer
4edf122364
Show a spinner when deleting comments or downtimes
...
refs #8369
2015-08-20 15:49:25 +02:00
Johannes Meyer
5602d57d0b
Indicate that the configuration is being validated
...
refs #8369
2015-08-20 15:48:41 +02:00
Matthias Jentsch
41d68f6a74
Fix delete comments and downtimes button
...
Fix faulty target names and add additional error checking in case the target DOM Element is not present.
fixes #9330
2015-08-19 16:36:47 +02:00
Johannes Meyer
b7a389601d
IdoResourcePage: Validate the version of a PostgreSQL server
...
refs #9460
2015-08-19 14:42:18 +02:00
Johannes Meyer
9282e1bce2
Merge branch 'master' into feature/validate-pgsql-version-9460
2015-08-19 14:04:37 +02:00
Eric Lippmann
1741a4f10b
monitoring: Use display names for the aria-label in the service grid
...
refs #9538
2015-08-19 12:56:19 +02:00
Eric Lippmann
0c43e4a36b
monitoring: Sort by display_names in the service grid
...
refs #9538
2015-08-19 12:55:55 +02:00
Eric Lippmann
9ea3f73e83
monitoring: Fix query class names not matching the file name
2015-08-19 12:52:38 +02:00
Johannes Meyer
65806fafbf
MonitoredObject: Only select history entries for the respective object
...
And fix that the default sort order is not applied.
fixes #9963
2015-08-19 11:53:00 +02:00
Eric Lippmann
4ab20b9142
monitoring: Eliminate unncessary GROUP BY clauses in the HoststatusQuery
...
refs #9956
2015-08-19 11:40:37 +02:00
Eric Lippmann
6e12dd4d78
monitoring: Fix service status grouping when selecting group alias columns
...
refs #9956
2015-08-19 11:39:51 +02:00
Johannes Meyer
7812f6ddcc
DataView: Remove obsolete $filter property
2015-08-19 11:23:40 +02:00
Eric Lippmann
18f720d31f
monitoring: Eliminate unncessary GROUP BY clauses in the ServicestatusQuery
...
refs #9956
2015-08-18 16:37:14 +02:00
Eric Lippmann
f5ffa8047c
monitoring: Fix handling of collated columns w/ PostgreSQL
...
fixes #9954
fxies #9955
2015-08-18 16:36:00 +02:00
Johannes Meyer
b7ee867239
DbResourcePage: Validate the version of a PostgreSQL server
...
refs #9460
2015-08-18 16:20:25 +02:00
Johannes Meyer
e7cfc25b04
DbTool: Add method getServerVersion()
...
refs #9460
2015-08-18 16:19:01 +02:00
Johannes Meyer
41ebb49c58
DbTool: Add method isConnected()
...
refs #9460
2015-08-18 16:18:25 +02:00
Alexander Fuhr
038fa29da8
notifications(view): Fix the wrong url for the service row
...
fixes #9597
2015-08-18 16:06:57 +02:00
Johannes Meyer
a0fce449a9
Wizard: Fix that the sidebar and default header is shown
2015-08-18 14:56:25 +02:00
Eric Lippmann
d449ff661e
monitoring/service grid: Set up the sort control for the pivot table instead of the service status query
...
refs #9333
2015-08-18 14:23:12 +02:00
Alexander Fuhr
4848e36f1a
IconImage: Fix the icon_image icon nfont usage
...
fixes #9582
2015-08-18 13:29:18 +02:00
Eric Lippmann
e904c26445
monitoring: Fix fetch function in the BackendAvailabilityMenuItemRenderer
...
fixes #9942
2015-08-18 13:09:34 +02:00
Eric Lippmann
00e206096d
monitoring: Don't rely on Icinga updating the is_currently_running column
...
From version to version this column seems to be buggy as it's not being updated when stopping Icinga.
refs #9942
2015-08-18 13:08:03 +02:00
Johannes Meyer
8b8fb6379d
DataView: Provide default labels for non-labelled filter columns
...
refs #9029
2015-08-17 15:06:52 +02:00
Johannes Meyer
84ac316cde
IdoQuery: Allow check if a column is case insensitive compared
...
refs #9029
2015-08-17 15:05:44 +02:00
Johannes Meyer
b061161979
DataView\Statussummary: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:07:07 +02:00
Johannes Meyer
e20f78bba9
DataView\Servicestatussummary: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:58 +02:00
Johannes Meyer
fe9c7a613c
DataView\Servicestatus: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:48 +02:00
Johannes Meyer
f0488dddf4
DataView\Servicegroupsummary: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:36 +02:00
Johannes Meyer
92cece92ab
DataView\Servicegroup: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:26 +02:00
Johannes Meyer
833e177666
DataView\Servicedowntime: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:14 +02:00
Johannes Meyer
66d5513517
DataView\Servicecomment: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:06:05 +02:00
Johannes Meyer
5d2c389220
DataView\Notification: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:56 +02:00
Johannes Meyer
ebbc2686c8
DataView\Hoststatussummary: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:49 +02:00
Johannes Meyer
25acebab77
DataView\Hostgroupsummary: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:37 +02:00
Johannes Meyer
9f8de333ec
DataView\Hostgroup: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:24 +02:00
Johannes Meyer
4dce29e040
DataView\Hostdowntime: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:16 +02:00
Johannes Meyer
a4422c5d94
DataView\Hostcomment: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:05:07 +02:00
Johannes Meyer
03a80b3e44
DataView\Eventhistory: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:59 +02:00
Johannes Meyer
31d67d8479
DataView\Eventgrid: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:51 +02:00
Johannes Meyer
89915196f2
DataView\Downtime: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:41 +02:00
Johannes Meyer
c3cd63368b
DataView\Contact: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:33 +02:00
Johannes Meyer
37b0b8bc84
DataView\Contactgroup: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:26 +02:00
Johannes Meyer
80b4d96e9f
DataView\Comment: Adjust how to handle filter columns
...
refs #9029
2015-08-17 14:04:15 +02:00
Johannes Meyer
fa1c971e51
DataView\Runtimevariables: Fix method documentation
2015-08-17 14:03:44 +02:00
Johannes Meyer
168819ca83
DataView\Runtimesummary: Fix method documentation
2015-08-17 14:03:34 +02:00
Johannes Meyer
12a1492740
DataView\Programstatus: Fix method documentation
2015-08-17 14:03:24 +02:00
Johannes Meyer
172cf6b3c6
DataView\Command: Fix method documentation
2015-08-17 14:03:05 +02:00
Johannes Meyer
fa38998e3d
DataView\Customvar: Adjust how to handle filter columns
...
refs #9029
2015-08-17 13:47:13 +02:00
Johannes Meyer
1643ec4358
DataView\Hoststatus: Adjust how to handle filter columns
...
refs #9029
2015-08-17 13:46:16 +02:00
Johannes Meyer
57ea5d6d5a
DataView: Use a more flexible way to provide filter columns
...
refs #9029
2015-08-17 12:53:17 +02:00
Johannes Meyer
9faea7c883
DataView: Introduce method getDynamicFilterColumns()
...
refs #9029
2015-08-14 11:05:22 +02:00
Johannes Meyer
71fba8f7df
IdoQuery: Allow to check whether joining custom vars is permitted
...
refs #9029
2015-08-14 10:05:09 +02:00
Johannes Meyer
1e6c394693
Controller: Create the filter editor in setupFilterControl() ...
...
...instead of demanding a concrete controller to do so.
We still have to decide how to handle parameter preservation
properly.
refs #9029
2015-08-13 17:05:13 +02:00
Johannes Meyer
40dd094af0
DataView: Implement interface FilterColumns
...
refs #9029
2015-08-13 14:24:24 +02:00
Johannes Meyer
e4f331bff9
DataView: Drop init()
...
refs #7344
2015-08-13 13:27:28 +02:00
Johannes Meyer
ad20d35e78
Eventgrid: Fetch the user's filter directly from the URL
...
refs #9029
2015-08-13 12:11:01 +02:00
Johannes Meyer
fc35f3e46b
FilterEditor: Apply the filter on the query internally
...
refs #9029
2015-08-13 11:33:25 +02:00
Johannes Meyer
2b049eb6f9
Drop the StatusQuery
...
refs #7344
2015-08-12 13:41:15 +02:00
Johannes Meyer
dc7d3a9c92
ServicestatusQuery: Respect an already set group clause
...
refs #7344
2015-08-12 13:40:17 +02:00
Johannes Meyer
5ae5b5e8d3
ServicestatusQuery: Add missing query columns
...
refs #7344
2015-08-12 13:39:30 +02:00
Johannes Meyer
9b25ffa566
Perfdata: Do not show "xx more..." if there is nothing to show
2015-08-11 15:28:37 +02:00
Johannes Meyer
e1cec6a849
Drop everything related to join last comments in list views
...
refs #8616
2015-08-11 15:07:03 +02:00
Johannes Meyer
fb3c98c585
Remove some more obsolete code to join service problems
2015-08-11 15:02:31 +02:00
Johannes Meyer
b9ea25506e
HoststatusQuery: Remove obsolete code to join service problems
2015-08-11 14:12:52 +02:00
Johannes Meyer
3f0d073f43
Merge branch 'master' into bugfix/slow-unhandled-service-summary-query-in-host-overview-9864
2015-08-11 14:01:27 +02:00
Johannes Meyer
00d143cb14
Fetch the service problem summary of a host with less redundant code
...
refs #9864
2015-08-11 13:52:21 +02:00
Johannes Meyer
78fdf85c7e
ReFacTOR HostserviceproblemsummaryQuery
...
refs #9864
2015-08-11 13:51:30 +02:00
Johannes Meyer
41a1c7ce98
Drop DataView\Hostservicestatussummary
...
It's unnecessary bloat.
refs #9864
2015-08-11 13:48:41 +02:00
Johannes Meyer
95da3772ce
Rename HostservicestatussummaryQuery...
...
...to HostserviceproblemsummaryQuery.
refs #9864
2015-08-11 13:48:08 +02:00
Johannes Meyer
589f0de063
HostdowntimeQuery: Fix services join
2015-08-11 11:29:48 +02:00
Johannes Meyer
542d7e2db3
HostcommentQuery: Fix services join
2015-08-11 11:29:25 +02:00
Eric Lippmann
f1a63a36f5
doc: Support header-less sections
2015-08-11 09:20:56 +02:00
Eric Lippmann
82d36e11cc
doc: Replace whitespaces with - for section IDs
...
Fixes jQuery selector issues when jumping to an anchor.
2015-08-11 09:20:56 +02:00
Eric Lippmann
4e3fbb1341
doc: Support setext-style only headers
...
Setext-style used to work before too but only if an atx-style header comes first.
2015-08-11 09:20:56 +02:00
Johannes Meyer
d09ad2641f
Remove CSS rule for class "timesince"
...
It's not used anywhere.
2015-08-10 13:22:05 +02:00
Alexander Fuhr
01ec2cd590
Merge branch 'master' into bugfix/downtimes-with-non-problem-state-time-caption-9266
2015-08-10 12:46:13 +02:00
Alexander Fuhr
72cf023bf8
donwtime/view: Fix condition statement
...
refs #9266
2015-08-10 12:32:15 +02:00
Alexander Fuhr
073d695c94
downtime/views: Fix the wrong time for flexible downtime
...
refs #9266
2015-08-10 12:15:26 +02:00
Alexander Fuhr
18dae78d80
MonitoredObject: Add scheduled_end
...
refs #9266
2015-08-10 12:14:49 +02:00
Eric Lippmann
cb0b3c8754
monitoring: Let PHP flush the writer buffer to the command file
...
refs #9570
2015-08-10 11:31:27 +02:00
Alexander Fuhr
c88f0c7e37
downtime/views: Use ends instead of started ...
...
refs #9266
2015-08-10 10:58:21 +02:00
Alexander Fuhr
f0cabf059a
view/downtimes: Add missing translate
...
refs #9266
2015-08-10 10:20:49 +02:00
Johannes Meyer
a4fdb30067
Host Overview: Use a dedicated query to fetch service summaries
...
refs #9864
2015-08-07 15:37:35 +02:00
Johannes Meyer
03d4386763
Introduce HostservicestatussummaryQuery class
...
refs #9864
2015-08-07 15:36:24 +02:00
Johannes Meyer
6560975fe2
Host overview: Do not select `host_unhandled_services'
...
It's implemented as horribly slow subquery.
refs #9864
2015-08-07 15:35:13 +02:00
Johannes Meyer
2a1f0132bc
Wizard: Properly process automatic submissions of the general config page
...
fixes #9855
2015-08-06 15:40:20 +02:00
Johannes Meyer
4c00d5effc
Wizard: Fix invalid call to self::translate()
...
refs #9654
2015-08-06 13:21:50 +02:00
Johannes Meyer
0695d5900c
Merge branch 'master' into feature/less-costly-count-queries-for-history-views-8615
2015-08-06 13:11:28 +02:00
Johannes Meyer
9dad63b512
Service history: Remove pagination and provide a load more link instead
...
refs #8615
2015-08-06 13:09:35 +02:00
Johannes Meyer
63650518ee
Host history: Remove pagination and provide a load more link instead
...
refs #8615
2015-08-06 13:09:24 +02:00
Johannes Meyer
b9e0a80479
EventHistory Overview: Show the load more link as button and centered
...
refs #8615
2015-08-06 12:50:17 +02:00
Johannes Meyer
ea3e0bc013
Eventhistory Overview: Use id attribues as the name attribute is deprecated
...
refs #8615
2015-08-06 11:52:35 +02:00
Johannes Meyer
8cf3b99335
Eventhistory Overview: Remove pagination and provide a load more link instead
...
refs #8615
2015-08-06 10:23:44 +02:00
Johannes Meyer
7662545c2a
SimpleQuery: Provide a getter for the current iterator position
...
refs #8615
2015-08-06 09:39:23 +02:00
Johannes Meyer
c891b9d356
HostgroupsummaryQuery: Fix group statement ambiguity
2015-08-06 07:54:03 +02:00
Matthias Jentsch
60675979bc
Merge branch 'bugfix/creating-dashlet-with-parentheses-9530'
...
fixes #9530
2015-08-05 18:22:29 +02:00
Matthias Jentsch
f8e2dc850c
Drop IniEditor and clean up IniWriter
...
Replace the ini editor code with a new parser implementation that manipulates a DOM. Do not support capabillities that are no longer needed, like nested configurations, section inheritance, section-less properties.
2015-08-05 18:10:17 +02:00
Johannes Meyer
35ea3cc9ee
Wizard: Make it unambiguous what the first database configuration is for
...
fixes #9654
2015-08-05 16:20:03 +02:00
Johannes Meyer
e2e1692462
Wizard: Use IcingaException::describe() in the finish's log where appropriate
...
fixes #9791
2015-08-05 15:54:45 +02:00
Alexander Fuhr
aa7adee21f
views/donwtime(s|-header): Fix that the Downtimes show "Starts in" ...
...
... for objects with non-problem state
refs #9266
2015-08-05 14:37:33 +02:00
Eric Lippmann
bebff5b83e
Merge branch 'bugfix/multiselect-restrictions-9574'
...
fixes #9574
2015-08-04 16:47:15 +02:00
Eric Lippmann
0e14cb48da
monitoring: Ignore restrictions if user has the wildcard restriction
...
resolves #9830
2015-08-04 16:28:45 +02:00
Eric Lippmann
cdd13bc389
monitoring: Apply restrictions before filtering for multiple services
...
refs #9574
2015-08-04 15:30:07 +02:00
Johannes Meyer
e6d507828c
Merge branch 'master' into feature/allow-to-extend-the-content-of-a-dashlet-on-the-right-6677
2015-08-04 15:29:48 +02:00
Eric Lippmann
10e50842b2
monitoring: Apply restrictions before filtering for multiple hosts
...
refs #9574
2015-08-04 15:28:51 +02:00
Eric Lippmann
7403c67893
monitoring: Default to Filter::matchAll() in the ObjectList
...
refs #9574
2015-08-04 15:28:18 +02:00
Johannes Meyer
15ac59268c
Put a small margin around show more links
...
refs #6677
2015-08-04 15:25:01 +02:00
Johannes Meyer
bc91c38a85
Service Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:16:31 +02:00
Johannes Meyer
4481224549
Servicegroup Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:16:16 +02:00
Johannes Meyer
792dc177dd
Notification Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:15:22 +02:00
Johannes Meyer
723ff76c17
Host Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:15:08 +02:00
Johannes Meyer
66bf3d2eb9
Hostgroup Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:14:01 +02:00
Johannes Meyer
916a88542a
Event Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:13:43 +02:00
Johannes Meyer
5ec85df923
Downtime Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:13:17 +02:00
Johannes Meyer
6017dce1cc
Contact Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:13:02 +02:00
Johannes Meyer
b8ac2fccd4
Comment Overview: Provide a show more link when in compact view
...
refs #6677
2015-08-04 15:12:47 +02:00
Alexander Fuhr
7ad6a76d7a
Merge branch 'master' into bugfix/invalid-host-passive-check-9672
2015-08-04 13:57:11 +02:00
Alexander Fuhr
b5ae4599fd
ProcessCheckResultCommandForm: Use substr instead of pregmatch
...
refs #9672
2015-08-04 13:54:30 +02:00
Alexander Fuhr
18f382e85e
ProcessCheckResultCommandForm: Use getHostMultiOptions method
...
refs #9672
2015-08-04 13:30:46 +02:00
Alexander Fuhr
dfbcc066a7
MonitoringBackend: Implement the getProgramVersion method
...
refs #9672
2015-08-04 13:28:32 +02:00
Alexander Fuhr
1c5bf36538
Host(s)-/Service(s)Controller: Set the form backend
...
refs #9672
2015-08-04 13:25:17 +02:00
Eric Lippmann
5ae21fd196
doc: Set parameters from route explicitly
...
refs #9817
2015-08-04 12:48:53 +02:00
Alexander Fuhr
ceb32679d8
RemoteInstanceForm: Fix the unhandled exception if no ...
...
..resources are available
* Now we only can use the ssh identity, if there is at least one ssh identity
resource exists
fixes #9517
2015-08-03 16:52:50 +02:00
Johannes Meyer
d1917ad2b4
Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
...
Conflicts:
modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer
2de761d8ec
Service History: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:35:17 +02:00
Johannes Meyer
54590bfaf1
Host History: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:34:50 +02:00
Johannes Meyer
8a5b5390da
Event Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:09:42 +02:00
Johannes Meyer
f03b9e5769
Eventgrid: Use $query->hasResult() instead of $query->count()
...
* and do not use fetchAll()
* and do not use <? short tags
* and do not use curly braces if not absolutely necessary..
refs #9632
2015-08-03 16:06:21 +02:00
Johannes Meyer
57e0ce1b53
Comment Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:49:12 +02:00
Johannes Meyer
d9539b2ad1
Downtime Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:45:54 +02:00
Johannes Meyer
6f0b51ed8f
Notification Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:35:17 +02:00
Johannes Meyer
29fd849cca
Contact Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:35:07 +02:00
Johannes Meyer
028342adfe
Services Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:24:10 +02:00
Johannes Meyer
e1b3c42818
Host Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:22:14 +02:00
Johannes Meyer
c0b82eff94
Servicegroup Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:18:40 +02:00
Johannes Meyer
39d29c79d2
Hostgroup Overview: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 15:06:22 +02:00
Eric Lippmann
688a08585b
Merge branch 'master' into bugfix/error-prone-generictts-9611
...
Conflicts:
modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann
d8e6418e94
monitoring: Fix code style in the show/components/downtime.phtml view script
...
refs #9611
2015-08-03 15:03:31 +02:00
Eric Lippmann
0809caa86b
monitoring: Fix indent in the show/components/comments.phtml view script
...
refs #9611
2015-08-03 15:03:02 +02:00
Johannes Meyer
9a0e47a3e1
SimpleQuery: Add method hasResult()
...
refs #9632
2015-08-03 14:49:33 +02:00
Matthias Jentsch
6a17d7cb26
Do not target next pane in multiview detail controls
...
fixes #9815
2015-08-03 13:45:47 +02:00
Alexander Fuhr
a63b69f4a1
components/downtime: Add downtime end time information in view
...
fixes #8845
2015-08-03 13:44:41 +02:00