Commit graph

263 commits

Author SHA1 Message Date
Eric Lippmann
16bd78ac30 monitoring: Reduce auto-refresh interval after a command has been submitted 2016-01-27 16:55:34 +01:00
Eric Lippmann
bb5017d54d monitoring: Support tab navigation in monitoring health 2016-01-18 12:57:56 +01:00
Eric Lippmann
627680d500 monitoring: Disable triggering downtimes for a host's children when using Icinga 2
The commands are missing in Icinga 2. Once implemented, we have to re-evaluate this.

refs #10744
2015-12-21 13:01:11 +01:00
Eric Lippmann
3a27e44437 monitoring: Remove h1 from service/show and feature command forms
refs #5543
2015-10-01 22:53:42 +02:00
Thomas Gelf
0c0944174a Remove ack: remove text label, hover-info suffices 2015-10-01 14:49:34 +02:00
Eric Lippmann
5fbb3893e2 monitoring: Fix submit label for remove ack
refs #5543
2015-10-01 02:50:23 +02:00
Eric Lippmann
b333439b2e monitoring: Add spinner to inline command forms
refs #5543
2015-09-30 22:44:52 +02:00
Matthias Jentsch
417c6bb1ea monitoring: New layout for downtime views
refs #5543
2015-09-30 20:20:39 +02:00
Eric Lippmann
e7497f3ac7 monitoring/CSS: Use icon-cancel for the delete comment button
refs #5543
2015-09-25 11:34:55 +02:00
Eric Lippmann
af41a9c981 monitoring/CSS: Fix classes used in the delete comment command form (WIP)
Spinner is missing for the moment.

refs #5543
2015-09-25 11:33:07 +02:00
Eric Lippmann
fef50e9584 monitoring/CSS: Fix css classes used in the check now command form (WIP)
Spinner is missing for the moment.

refs #5543
2015-09-25 11:33:06 +02:00
Eric Lippmann
0f8c28d749 Merge branch 'master' into feature/api-9606 2015-09-07 11:33:44 +02:00
Matthias Jentsch
29a2ee1a02 Merge branch 'feature/provide-counter-view-10033'
resolves #10033
2015-09-04 15:27:35 +02:00
Matthias Jentsch
fff9bf7b2b Implement view to display stats about checks and monitored objects
refs #10033
2015-09-04 14:22:57 +02:00
Eric Lippmann
90f606fbd4 monitoring: Fix tooltip of the sticky flag for acks 2015-09-04 13:03:28 +02:00
Johannes Meyer
e04c19a819 CommandForm: Use the CommandTransport class directly
Provides a fallback mechanism now and will check the instance's
name soon.

refs #8981
refs #9651
2015-08-31 09:28:42 +02:00
Johannes Meyer
ec8567cbbf monitoring: It's now a command transport, not an instance anymore
refs #9651
2015-08-26 15:43:30 +02:00
Eric Lippmann
96fb3b5d4b Merge branch 'master' into feature/api-9606 2015-08-25 09:25:59 +02:00
Eric Lippmann
f7630b98a9 monitoring: Optimize method order in the DeleteCommentsCommandForm 2015-08-21 10:32:16 +02:00
Eric Lippmann
15cf5a9724 monitoring: Fix submit label of the DeleteCommentsCommandForm 2015-08-21 10:31:21 +02:00
Eric Lippmann
5b143ce205 monitoring: Optimize method order in the DeleteDowntimesCommandForm 2015-08-21 10:30:55 +02:00
Eric Lippmann
b092d081b9 monitoring: Use translatePlural for the success message in the DeleteCommentsCommandForm 2015-08-21 10:28:52 +02:00
Eric Lippmann
ed25488cff monitoring: Use translatePlural for the success message in the DeleteDowntimesCommandForm 2015-08-21 10:28:28 +02:00
Eric Lippmann
f27f1097ca monitoring: Don't require the child_hosts parameter when scheduling host downtimes
refs #9606
2015-08-20 15:54:03 +02:00
Johannes Meyer
4edf122364 Show a spinner when deleting comments or downtimes
refs #8369
2015-08-20 15:49:25 +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
Eric Lippmann
0d2f73668d Merge branch 'bugfix/non-compound-9449'
fixes #9449
2015-07-28 13:37:39 +02:00
Eric Lippmann
0a01eb66b1 monitoring: Remove unnecessary use w/ backslash in DeleteDowntimesCommandForm
refs #9449
2015-07-28 13:34:39 +02:00
Eric Lippmann
5d01dca291 monitoring: Fix PHPDoc in DeleteDowntimesCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann
72c3337be8 monitoring: Use @inheritdoc in DeleteDowntimeCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann
455d2cee69 monitoring: Use @inheritdoc in DeleteCommentCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann
9bd31f70e2 monitoring: Remove unnecessary use w/ backlash in DeleteDowntimeCommandForm
refs #9449
2015-07-28 12:44:27 +02:00
Eric Lippmann
f6ec028627 monitoring: Fix PHPDoc in DeleteCommentsCommandForm 2015-07-28 12:32:19 +02:00
Eric Lippmann
36a5ec3e17 monitoring: Fix PHPDoc in CommandForm 2015-07-28 12:32:19 +02:00
Eric Lippmann
ec07da6c5e monitoring: Remove unnecessary use w/ backlash in DeleteCommentsCommandForm
refs #9449
2015-07-28 11:56:48 +02:00
Johannes Meyer
e5f62f017f DeleteCommentCommandForm: Show a trash icon instead
The "cancel" icon is, like its name implies, supposed to abort/close
something..
2015-07-10 14:26:39 +02:00
Johannes Meyer
74a916d72a Hide feature commands which are not supported by Icinga 2 from the user
fixes #7930
2015-07-03 14:17:06 +02:00
Johannes Meyer
3e5e6ec64e ToggleInstanceFeaturesCommandForm: Only issue a command for changes 2015-07-03 13:36:24 +02:00
Thomas Gelf
7669fd88bc ToggleObjectFeaturesCommandForm: use h2 instead of h4 2015-06-16 01:28:38 +02:00
Thomas Gelf
38a88d129c DeleteCommentCommandForm: choose another icon 2015-06-03 15:35:50 +02:00
Thomas Gelf
5b19f9474c CheckNowCommandForm: remove visible whitespace 2015-06-03 15:35:50 +02:00
Alexander A. Klimov
7caba93a28 Replace ...' w/ ..'
refs #9023
2015-05-18 16:07:28 +02:00
Alexander A. Klimov
0d48ddcc06 ToggleObjectFeaturesCommandForm::onSuccess(): show a notification for each feature about whether it has been enabled or disabled
refs #9023
2015-05-18 15:18:26 +02:00
Alexander A. Klimov
729fb9a4d1 ToggleInstanceFeaturesCommandForm::onSuccess(): notifications: show which feature has been enabled or disabled
refs #9023
2015-05-18 14:51:22 +02:00
Alexander A. Klimov
4fbadaea2c ToggleInstanceFeaturesCommandForm::createElements(): make form labels shorter
refs #9023
2015-05-18 14:20:17 +02:00
Alexander A. Klimov
58434d9743 ToggleInstanceFeaturesCommandForm::onSuccess(): show a notification for each feature about whether it has been enabled or disabled
fixes #9023
2015-05-15 17:01:28 +02:00
Matthias Jentsch
1fa550838d Coding guidelines and cleanup 2015-05-07 16:37:35 +02:00
Matthias Jentsch
ac599e642a Add submit button label to multi comment form
refs #8624
2015-05-07 16:21:34 +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
3187975553 Conform to coding guidelines 2015-05-07 10:59:36 +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
Alexander Fuhr
993cb31572 Fix the permission for the toggle object feature assertion
fixes #9198
2015-05-04 14:39:12 +02:00
Eric Lippmann
a8ce3abca7 Fix code compliance in the SendCustomNotificationCommandForm 2015-04-15 14:59:29 +02:00
Johannes Meyer
99610bc1bd Avoid sub-tables when showing comments or downtimes in the detail view
fixes #8625
2015-03-13 08:32:50 +01:00
Marius Hein
ddc8dd5d4c Add command send custom notification to monitoring module
refs #8644
2015-03-12 16:08:22 +01:00
Johannes Meyer
507e5b43cc Show a form based autosubmit warning when toggling object features
refs #7935
2015-03-03 14:52:45 +01:00
Johannes Meyer
d9fdcf036b Show a form based autosubmit warning when toggling instance features
refs #7935
2015-03-03 14:34:08 +01:00
Johannes Meyer
b9ac42b54d Drop CommandForm::getHelp() as being obsolete 2015-03-02 18:40:47 +01:00
Johannes Meyer
a2f88dc60f Commands: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer
ea7b77eb72 Remove the required cue when disabling notifications globally
refs #7934
2015-03-02 18:40:46 +01:00
Alexander Fuhr
797d37735d Add .spinner class to CheckNowCommandForm submit button
refs #7968
2015-02-25 14:16:35 +01:00
Johannes Meyer
907134cee2 Ensure that all link-like form buttons got proper titles
refs #8458
2015-02-24 09:03:47 +01:00
Johannes Meyer
77fa2f7c2b Add aria-label to the monitoring health's link to disable notifications
refs #8458
2015-02-23 17:10:52 +01:00
Johannes Meyer
9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +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
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
9df2430cbe Remove redundant help message when scheduling host/service checks 2015-02-02 16:31:57 +01:00
Eric Lippmann
127ce7abfe monitoring/security: Fix that toggling instance features is always disabled
In HTML5 the presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.

In Zend we have to set null for the absence of the attribute and the empty string for the
presence of the attribute.
2015-01-30 10:47:02 +01:00
Eric Lippmann
1681f746c1 monitoring/security: Disable toggling object features if user lacks the permission monitoring/command/feature/object 2015-01-30 10:46:24 +01:00
Eric Lippmann
bdc637ff67 monitoring/security: Guard toggling object features
Toggling object features will only be possible if the user has the permission monitoring/command/feature/object.
2015-01-30 10:31:49 +01:00
Eric Lippmann
35b33647cf monitoring/security: Guard the link for disabling notifications on an instance-wide basis
The link in the monitoring health view will only be shown if the user has the permission monitoring/command/feature/instance.
2015-01-30 10:26:43 +01:00
Eric Lippmann
3716be4a48 monitoring/security: Disable toggling instance features if user lacks the permission monitoring/command/feature/instance 2015-01-30 10:01:03 +01:00
Eric Lippmann
7dbb8c6841 monitoring/security: Require monitoring/command/feature/instance permission for toggling instance features 2015-01-30 09:58:10 +01:00
Johannes Meyer
7082ebaf7b Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 13:47:01 +01:00
Johannes Meyer
23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838c.
2015-01-19 13:44:16 +01:00
Johannes Meyer
970006838c Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 10:49:02 +01:00
Eric Lippmann
fa226f261e monitoring: Remove css class 'control-group' from date and time elements in the schedule downtime command form
This CSS class does no longer exist.
2014-12-19 10:45:23 +01:00
Eric Lippmann
b0ab6c3a76 monitoring: Remove css class 'control-group' from the expire time element
This CSS class does no longer exist.
2014-12-19 10:43:14 +01:00
Johannes Meyer
ddc121d1cc Add ProcessCheckResultCommandForm
refs #6854
2014-12-11 15:52:23 +01:00
Bernd Erk
066ea782aa Fixes Check now button 2014-11-19 13:49:30 +01:00
Alexander Fuhr
7a7157ebef Move command note to the `getHelp()' and add the help as an icon 2014-11-18 16:10:17 +01:00
Johannes Meyer
ddf2ef5cc9 Remove $request parameter from Form::onSuccess and Form::onRequest
fixes #7552
2014-11-14 14:59:29 +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
ea56e4f108 Fix addElements call in CheckNowCommandForm 2014-11-14 10:41:30 +01:00
Johannes Meyer
1c4a5ce86f Leave it up to Icinga\Web\Form to instantiate our own form elements 2014-11-14 10:15:27 +01:00
Alexander Fuhr
dedb348af9 Add clickable icon for command check now 2 2014-11-13 15:55:25 +01:00
Thomas Gelf
f24b0e2a4e MonitoringBackend: a few more places, doesn't hurt 2014-11-12 00:20:37 +01:00
Alexander Fuhr
285d10ef22 Replace Zend Note Element through Icingas Note Element
fixes #7318
fixes #7309
fixes #7307
2014-09-26 16:32:07 +02:00
Eric Lippmann
9601942116 monitoring/commands: Default 'schedule downtime for all services on the hosts' to false
refs #6593
2014-09-23 17:39:32 -07:00
Eric Lippmann
b10737017d monitoring/commands: Default 'reschedule all service checks on the hosts' to false
refs #6593
2014-09-23 17:36:15 -07:00
Eric Lippmann
72a9a53201 monitoring/commands: Use translate plurar in the object command forms
refs #6593
2014-09-19 14:25:49 +02:00
Eric Lippmann
71ffd0ed74 monitoring/commands: Add schedule host check command form
refs #6593
2014-09-16 18:48:36 +02:00
Eric Lippmann
4d8b6dddf1 monitoring/commands: Add schedule host downtime command form
refs #6593
2014-09-16 18:48:07 +02:00
Eric Lippmann
33e0fbb7d9 monitoring/commands: Fix code compliance
refs #6593
2014-09-12 16:53:48 +02:00