Marius Hein
cb09c8acdc
Backend/Config: Add shortlink to resource
...
fixes #7493
2014-11-07 14:20:47 +01:00
Johannes Meyer
c1bff9a26e
Merge branch 'master' into feature/setup-wizard-7163
2014-10-30 10:38:21 +01:00
Johannes Meyer
2f05ed3d49
Add monitoring module wizard
...
refs #7163
2014-10-29 15:40:34 +01:00
Eric Lippmann
5fc1f85b76
monitoring: Write transport directive to instances INI configuration
...
Further I replaced if-elseif blocks w/ switch when branching based on the value of a single parameter,
which would have to be implied otherwise by looking at all the conditions.
2014-10-29 13:36:09 +01:00
Eric Lippmann
71e25f268a
monitoring: Rename label of the path to the local Icinga command file
...
Rename 'Local filepath' to 'Command file' because the remote instance form is using 'Command file' too.
2014-10-28 13:52:10 +01:00
Eric Lippmann
d04eceaeb2
monitoring: Remove 'Remote' prefix from the remote instance form elements' labels
...
The 'Remote' prefix of the remote instance form elements' labels is superfluous because the
instance's type already tells that it's remote.
2014-10-28 13:50:42 +01:00
Alexander Klimov
ba12d7b46c
Use mt() in the monitoring module instead of just t()
...
fixes #7330
2014-10-21 17:22:16 +02:00
Eric Lippmann
1b23fd7fbe
monitoring: Don't support status.dat as backend
...
Icinga Web 2 will not support status.dat for now and maybe forever.
2014-10-07 13:22:07 +02:00
Eric Lippmann
531448eee4
monitoring: Fix setting a resource on a backend
...
The resources were indexed by integers instead of the resource names.
2014-10-01 14:17:29 +02:00
Matthias Jentsch
ac2aeca9e6
Conform StatehistoryForm to new Form implementation
2014-09-30 11:34:04 +02:00
Alexander Fuhr
f7b7e0283a
Translation: another bunch of translatable strings
2014-09-29 15:20:19 +02:00
Alexander Fuhr
31609ecb34
Remove typo in RemoteInstaceForm
...
refs #7307
2014-09-26 17:14:13 +02: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
cde3ec6bc8
Merge branch 'master' into bugfix/commands-6593
...
Conflicts:
modules/monitoring/application/controllers/TimelineController.php
2014-09-23 22:54:17 -07: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
Matthias Jentsch
6c8f324dd4
Add filter widget to StateHistorySummary and fix some minor bugs
...
fixes #6979
2014-09-19 17:41:44 +02:00
Matthias Jentsch
dc6562b97e
Add missing StateHistoryForm
2014-09-19 17:41:44 +02: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
9e0d6657b7
Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-15 09:27:07 +02:00
Eric Lippmann
33e0fbb7d9
monitoring/commands: Fix code compliance
...
refs #6593
2014-09-12 16:53:48 +02:00
Eric Lippmann
4d784c6097
monitoring/commands: Re-add the changed identifier to object features
...
refs #6593
2014-09-12 16:42:00 +02:00
Eric Lippmann
442f956945
monitoring/commands: Fix object command forms code compliance
...
refs #6593
2014-09-12 15:03:03 +02:00
Eric Lippmann
e5e806a3a1
monitoring/commands: Fix instance command forms code compliance
...
refs #6593
2014-09-12 15:02:31 +02:00
Eric Lippmann
16bc0e5d5a
monitoring/commands: Add icon to the check now command form
...
refs #6593
2014-09-12 13:29:23 +02:00
Eric Lippmann
1d54c7f836
monitoring/commands: Support 'DISABLE_NOTIFICATIONS_EXPIRE_TIME'
...
refs #6593
2014-09-12 10:42:48 +02:00
Eric Lippmann
3f216f26ff
monitoring/commands: Remove superseded command forms and command objects
...
refs #6593
2014-09-12 10:20:38 +02:00
Eric Lippmann
b4faa0142b
monitoring/commands: Add object command forms
...
refs #6593
2014-09-11 17:20:20 +02:00
Eric Lippmann
746e75e5ed
monitroing/commands: Remove method `CommandForm::inline()'
...
Inline forms will set themselves as inline.
refs #6593
2014-09-11 17:19:00 +02:00
Eric Lippmann
92571599df
monitoring/commands: Move toggle instance feature command forms into a single form
...
refs #6593
2014-09-11 17:16:13 +02:00
Eric Lippmann
22771e6f6f
monitoring/commands: Rename `DisableNotificationsCommandForm' to `DisableNotificationsExpireCommandForm'
...
The associated command also has 'Expired' in its name.
refs #6593
2014-09-11 17:13:57 +02:00
Johannes Meyer
ceeb3a9ff8
Fix createElements() not returning self where applicable
...
refs #5525
2014-09-09 13:24:39 +02:00
Eric Lippmann
0e7ca591ec
Merge branch 'master' into bugfix/commands-6593
...
Conflicts:
application/forms/Preference/GeneralForm.php
application/views/helpers/FormDateTime.php
modules/monitoring/application/forms/Command/CommandForm.php
2014-09-08 10:16:05 +02:00
Johannes Meyer
930e6e7d71
We shouldn't require Form::createElements() to return self
...
refs #5525
2014-09-08 09:24:53 +02:00
Johannes Meyer
ae9e5a40cc
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Thomas Gelf
dccc57b7a2
CommandForm: fix broken function
2014-09-04 18:39:02 +02:00
Marius Hein
6fcf5ec88a
DateTime: Remove global and user formattings
...
refs #6077
2014-09-04 16:02:10 +02:00
Eric Lippmann
1358a5d49f
monitoring/commands: Add command form for scheduling a service downtime
...
refs #6593
2014-09-04 15:42:46 +02:00
Eric Lippmann
6f8fc3eb6d
modules/command: Add command description to `DisableNotificationsCommandForm'
...
refs #6593
2014-09-04 15:30:54 +02:00
Marius Hein
f8b3ffb3c8
AbstractObject: Rename to MonitoredObject
...
refs #6932
2014-09-04 14:00:48 +02:00
Eric Lippmann
ed645b1eeb
monitoring/commands: Fix `CommandForm::getTransport()'s PHPDoc
...
refs #6593
2014-09-04 13:29:12 +02:00
Eric Lippmann
cb23ef3c4e
monitoring/commands: Add `DisableNotificationsCommandForm'
...
`DisableNotificationsCommandForm' is the form for disabling host and service notifications w/ an optional expire date and time on an Icinga instance.
refs #6593
2014-09-04 13:06:47 +02:00
Eric Lippmann
3d0a74bfdb
monitoring/commands: Add `ToggleNotificationsCommandForm'
...
`ToggleNotificationsCommandForm' is the form for enabling/disabling host and service notifications on an Icinga instance.
refs #6593
2014-09-04 13:04:54 +02:00
Eric Lippmann
bc1d00f146
monitoring/commands: Fix `ToggleFeatureCommandForm::createElements()'
...
`Icinga\Web\Form::createElements()' no longer requires to return an array of elements
because elements should be created directly.
refs #6593
2014-09-04 13:02:38 +02:00
Eric Lippmann
8d109132b0
monitoring/commands: Add common `ScheduleDowntimeCommandForm'
...
`ScheduleDowntimeCommandForm' should be the base class for forms scheduling downtimes.
refs #6593
2014-09-04 13:01:42 +02:00
Johannes Meyer
439d1895a7
Adjust Monitoring\BackendForm to use handleRequest() & Co.
...
refs #5525
2014-09-04 11:25:47 +02:00
Johannes Meyer
9d66cc9023
Adjust Monitoring\InstanceForm to use handleRequest() & Co.
...
refs #5525
2014-09-04 08:47:16 +02:00
Johannes Meyer
49562e75d7
Adjust ..\Monitoring\Form\Config\SecurityForm to use handleRequest()
...
refs #5525
2014-09-03 15:08:37 +02:00
Eric Lippmann
5d1f2ada97
monitoring/commands: Fix `ToggleFeatureCommandForm::onSucces()'s PHPDoc
...
refs #6593
2014-09-03 14:42:49 +02:00
Eric Lippmann
ae180166b3
monitoring/commands: Let `ToggleFeatureCommandForm' extend `CommandForm'
...
`InstanceCommandForm' was renamed to `CommandForm'.
efs #659
2014-09-02 09:57:15 +02:00
Eric Lippmann
c27c5690ba
monitoring/commands: Rename `InstanceCommandForm' to `CommandForm'
...
Since the old `CommandForm' is removed, `InstanceCommandForm' is now the new base class for all command forms.
refs #6593
2014-09-02 09:55:38 +02:00
Eric Lippmann
4b210f95ea
monitoring/commands: Remove `CommandForm' which will be replaced
...
Remove the rubbish.
refs #6593
2014-09-02 09:51:40 +02:00
Eric Lippmann
c005ef434e
monitoring/commands: Add form for enabling/disabling the processing of host and service performance data on an Icinga instance
...
refs #6593
2014-09-01 16:21:49 +02:00
Eric Lippmann
d47951f9d6
monitoring/commands: Add form for enabling/disabling passive service checks on an Icinga instance
...
refs #6593
2014-09-01 16:21:23 +02:00
Eric Lippmann
8686074fb1
monitoring/commands: Add form for enabling/disabling passive host checks on an Icinga instance
...
refs #6593
2014-09-01 16:20:56 +02:00
Eric Lippmann
176a1a72ca
monitoring/commands: Add form for enabling/disabling processing of service checks via the OCHP command on an Icinga instance
...
refs #6593
2014-09-01 16:20:31 +02:00
Eric Lippmann
ff10cdaf03
monitoring/commands: Add form for enabling/disabling processing of host checks via the OCHP command on an Icinga instance
...
refs #6593
2014-09-01 16:20:07 +02:00
Eric Lippmann
5a100ea99f
monitoring/commands: Add form for enabling/disabling host and service flap detection on an Icinga instance
...
refs #6593
2014-09-01 16:19:37 +02:00
Eric Lippmann
939f8b82cc
monitoring/commands: Add form enabling/disabling host and service event handlers on an Icinga instance
...
refs #6593
2014-09-01 16:19:12 +02:00
Eric Lippmann
e8b70ffccd
monitoring/commands: Add form for enabling/disabling active service checks on an Icinga instance
...
refs #6593
2014-09-01 16:17:13 +02:00
Eric Lippmann
e2cdff67b2
monitoring/commands: Add form for enabling/disabling active host checks on an Icinga instance
...
refs #6593
2014-09-01 16:16:47 +02:00
Eric Lippmann
dae29678dd
monitoring/commands: Add `ToggleFeatureCommandForm'
...
`ToggleFeatureCommandForm' should be the base class for forms enabling/disabling features of an Icinga instance.
refs #6593
2014-09-01 15:01:32 +02:00
Eric Lippmann
8cacd2f00f
monitoring/commands: Add `InstanceCommandForm'
...
The `InstanceCommandForm' should be the base class for forms that handle program-wide commands.
refs #6593
2014-09-01 15:00:20 +02:00
Johannes Meyer
fb5685bac3
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Config/Authentication/BaseBackendForm.php
application/forms/Config/Authentication/DbBackendForm.php
application/forms/Config/Authentication/LdapBackendForm.php
application/forms/Config/Authentication/ReorderForm.php
application/forms/Config/LoggingForm.php
application/forms/Config/ResourceForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Config.php
library/Icinga/Web/Form.php
modules/monitoring/application/controllers/ConfigController.php
modules/monitoring/application/forms/Config/Backend/CreateBackendForm.php
modules/monitoring/application/forms/Config/Instance/CreateInstanceForm.php
modules/monitoring/application/forms/Config/Instance/EditInstanceForm.php
modules/monitoring/application/forms/Config/SecurityForm.php
2014-08-29 16:05:56 +02:00
Alexander Klimov
7ff51caed0
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 15:51:49 +02:00
Eric Lippmann
1dea19504f
Revert "Remove leading backslashes from the targets of use statements"
...
This reverts commit 87a5967501
.
At least 'modules/doc/run.php' issues a warning about "The use statement with non-compound name 'Zend_Controller_Router_Route' has no effect"
2014-08-27 12:24:11 +02:00
Alexander Klimov
87a5967501
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 11:16:44 +02:00
Johannes Meyer
7b221e2aba
It should not be a form's responsibility how its submit button should look..
...
...in case it's a standard button. No need to be DRY here.
refs #5525
2014-08-22 15:20:54 +02:00
Johannes Meyer
5028ec7b0b
Avoid NIH
...
It's useless to have specific getters and setters if generic methods from the
baseclass can be used as well to accomplish the same task.
refs #6641
2014-08-22 12:30:13 +02:00
Johannes Meyer
75a0c17933
Ensure that all forms have a name
...
refs #5525
2014-08-22 12:15:02 +02:00
Johannes Meyer
2b879b344f
Do not populate using createElements() and fix documentation blocks
...
refs #5525
2014-08-22 12:04:14 +02:00
Alexander Klimov
30d0ebcdfd
Make 'modules/monitoring/config.ini' doesn't have to exist
2014-08-21 12:36:28 +02:00
Alexander Klimov
b81e96574a
SecurityForm: replace create() with createElements() and add addSubmitButton()
...
refs #5525
2014-08-21 11:48:07 +02:00
Johannes Meyer
11063495b2
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
modules/monitoring/application/controllers/ConfigController.php
2014-08-21 10:22:16 +02:00
Alexander Klimov
78b98a7d67
SecurityForm: Add helptext
...
refs #6641
2014-08-20 12:21:11 +02:00
Alexander Klimov
ea0248ecf4
Remove '{{SAVE_ICON}}', tiny design fixes
...
refs #6641
2014-08-19 17:54:22 +02:00
Alexander Klimov
3e079efe2a
SecurityForm: replace `customvars' with `protected_customvars'
...
refs #6641
2014-08-19 14:51:30 +02:00
Alexander Klimov
1ba3954b95
Monitoring config: implement SecurityForm
...
refs #6641
2014-08-19 14:02:26 +02:00
Johannes Meyer
fe63ce664f
Make use if 'ignore´ instead of explicitly unsetting array keys
...
refs #5525
2014-08-12 13:57:28 +02:00
Johannes Meyer
be14844fa8
Merge EditInstanceForm with CreateInstanceForm and rename it
...
As with the backend form, a user might like to change the name of an
instance. The new form and its actions are also adjusted to suit the new form interface.
refs #5525
2014-08-11 14:49:42 +02:00
Johannes Meyer
d7ed6bd249
Adjust removebackend-action to suit the new backend form interface
...
Drops additionally the ConfirmRemovalForm of the monitoring module
as there is already one in icingaweb2's form-set.
refs #5525
2014-07-25 16:00:38 +02:00
Johannes Meyer
488ea4633d
Merge EditBackendForm with CreateBackendForm and rename it
...
It is not necessary to distinct between whether a backend is created or
edited as a user perhaps likes to change the name of a backend directly
instead of the need to remove and recreate it.
refs #5525
2014-07-25 14:50:53 +02:00
Johannes Meyer
26d42da635
Re-add getResourcesByType as simplified version
...
refs #5525
2014-07-25 08:58:50 +02:00
Johannes Meyer
a6bd802e3e
Remove unnecessary properties and its getters/setters
...
refs #5525
2014-07-25 08:58:11 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
b4dc0f38b3
Fix monitoring backend configuration not showing resource selection fields
...
fixes #6448
2014-07-10 15:50:52 +02:00
Thomas Gelf
4d42b4d2c4
ScheduleDowntimeForm: replace obsolete ::fromRequest
...
A serious fix would involve passing the current backend to our
command forms.
2014-06-23 13:35:58 +02:00
Matthias Jentsch
b16c6efa05
Add PieChart to display hosts and services, improve layout and fix flag
...
checkboxes
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6
Fix layout of MultiController views
...
refs #5765
2014-04-28 09:48:06 +02:00
Thomas Gelf
842c29e0d0
Fix form area widths
2014-03-25 08:05:53 +00:00
Thomas Gelf
bf66271e49
Still downtimes
2014-03-09 22:32:40 +01:00
Thomas Gelf
740df4ccac
Cleaning up object downtimes. What a mess... :(
2014-03-08 18:28:19 +01:00
Alexander Klimov
a0e3720abb
Monitoring backends configuration icon hotfix
2014-03-07 15:16:32 +01:00
Alexander Klimov
a4ed32d357
Using new PHP icon helper
2014-03-07 10:54:39 +01:00
Thomas Gelf
914806e229
Replaced a few icons with imgs
2014-02-21 14:03:47 +00:00
Matthias Jentsch
59d4baff0b
Fix remaining references to DbUserBackend and refresh the documentation.
...
refs #4786
2013-11-06 13:31:07 +01:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Marius Hein
74461e7cb2
Add icons to config forms
2013-10-23 12:25:51 +02:00