Eric Lippmann
05776651b4
modules/commands: Fix `IcingaCommandFileCommandRenderer's `getHost()' and `getService()' calls
...
refs #6593
2014-09-16 18:45:31 +02:00
Eric Lippmann
a18287d183
monitoring/commands: Rename `PropagateHostDowntime' to `PropagateHostDowntimeCommand'
...
refs #6593
2014-09-13 20:34:51 +02:00
Eric Lippmann
33e0fbb7d9
monitoring/commands: Fix code compliance
...
refs #6593
2014-09-12 16:53:48 +02:00
Eric Lippmann
3a9774e6e5
monitoring/commands: Support toggling instance features
...
refs #6593
2014-09-12 16:43:18 +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
b6ac31d10f
monitoring/commands: Let transports use the Icinga command file command renderer
...
refs #6593
2014-09-11 17:39:59 +02:00
Eric Lippmann
1df8076234
monitoring/commands: Add command renderer for the Icinga command file
...
refs #6593
2014-09-11 17:39:13 +02:00
Eric Lippmann
3845301dfb
monitoring/commands: Add object command classes
...
refs #6593
2014-09-11 17:18:07 +02:00
Eric Lippmann
c40ac6f9dc
monitoring/commands: Add `DisableNotificationsExpireCommand'
...
refs #6593
2014-09-11 17:11:32 +02:00
Eric Lippmann
1247fdcad4
monitoring/commands: Move toggle instance feature commands into a single command
...
refs #6593
2014-09-11 17:10:20 +02:00
Eric Lippmann
171b366744
monitoring/commands: Let `AddCommentCommand' be the command object for adding both host and service commands
...
refs #6593
2014-09-09 16:41:41 +02:00
Eric Lippmann
28a66c8541
monitoring/commands: Introduce `ObjectCommand' for commands that involve a Icinga object
...
refs #6593
2014-09-09 16:40:09 +02:00
Eric Lippmann
d9fbbca447
monitoring/commands: Move `AddCommentCommand' to `WithCommentCommand'
...
`AddCommentCommand' will be the command for adding both host and service comments.
refs #6593
2014-09-09 16:39:22 +02:00
Eric Lippmann
a841b0956d
monitoring/commands: Do not require command objects to return the command string
...
There will be command renderer instead.
refs #6593
2014-09-09 16:35:06 +02:00
Eric Lippmann
a83ddb9d8e
monitoring/commands: Let `ScheduleDowntimeCommand' extend `AddCommentCommand'
...
refs #6593
2014-09-04 15:52:20 +02:00
Eric Lippmann
a94e84f3b0
monitoring/commands: Add common `AddCommentCommand'
...
refs #6593
2014-09-04 15:51:41 +02:00
Eric Lippmann
fe47441efc
monitoring/commands: Add command to schedule a service downtime
...
refs #6593
2014-09-04 15:42:11 +02:00
Eric Lippmann
1c8f880d18
modules/command: Remove old `ScheduleDowntimeCommand'
...
refs #6593
2014-09-04 15:38:48 +02:00
Eric Lippmann
f57bb0f6a1
modules/commands: Add common `ScheduleDowntimeCommand'
...
`ScheduleDowntimeCommand' is the base class for commands scheduling downtimes.
refs #6593
2014-09-04 15:37:30 +02:00
Eric Lippmann
920c0b9c6d
monitoring/commands: Add (ENABLE|DISABLE)_PERFORMANCE_DATA commands
...
`TogglePerformanceData' is the command object for enabling/disabling the processing of host and service performance data on an Icinga instance.
refs #6593
2014-09-01 15:20:14 +02:00
Eric Lippmann
0edd14559c
monitoring/commands: Add (ENABLE|DISABLE)_PASSIVE_SERVICE_CHECKS commands
...
`TogglePassiveServiceChecks' is the command object for enabling/disabling passive service checks on an Icinga instance.
refs #6593
2014-09-01 15:18:40 +02:00
Eric Lippmann
efd16ba79f
monitoring/commands: Add (ENABLE|DISABLE)_PASSIVE_HOST_CHECKS commands
...
`TogglePassiveHostChecks' is the command object for enabling/disabling passive host checks on an Icinga instance.
refs #6593
2014-09-01 15:18:31 +02:00
Eric Lippmann
c5e35c9614
monitoring/commands: Add (START|STOP)_OBSESSING_OVER_SERVICE_CHECKS commands
...
`ToggleObsessingOverServiceChecks' is the command object for enabling/disabling processing of service checks via the OCHP command on an Icinga instance.
refs #6593
2014-09-01 15:15:11 +02:00
Eric Lippmann
cd29adc0bd
monitoring/commands: Add (START|STOP)_OBSESSING_OVER_HOST_CHECKS commands
...
`ToggleObsessingOverHostChecks' is the command object for enabling/disabling processing of host checks via the OCHP command on an Icinga instance.
refs #6593
2014-09-01 15:14:49 +02:00
Eric Lippmann
cdbd24ec99
monitoring/commands: Add (ENABLE|DISABLE)_NOTIFICATIONS/DISABLE_NOTIFICATIONS_EXPIRE_TIME commands
...
`ToggleNotifications' is the command object for enabling/disabling host and service notifications on an Icinga instance with an optional expire time for disabling notifications.
refs #6593
2014-09-01 15:14:39 +02:00
Eric Lippmann
5474c661e1
monitoring/commands: Add (ENABLE|DISABLE)_FLAP_DETECTION commands
...
`ToggleFlapDetection' is the command object for enabling/disabling host and service flap detection on an Icinga instance.
refs #6593
2014-09-01 15:14:31 +02:00
Eric Lippmann
010c5b45ba
monitoring/commands: Add (ENABLE|DISABLE)_EVENT_HANDLERS commands
...
`ToggleEventHandlers' is the command object for enabling/disabling host and service event handlers on an Icinga instance.
refs #6593
2014-09-01 15:14:23 +02:00
Eric Lippmann
fda48788ff
monitoring/commands: Add (START|STOP)_EXECUTING_SVC_CHECKS commands
...
`ToggleActiveServiceChecks' is the command object for enabling/disabling active service checks on an Icinga instance.
refs #6593
2014-09-01 15:14:15 +02:00
Eric Lippmann
d2d69b9bcd
monitoring/commands: Add (START|STOP)_EXECUTING_HOST_CHECKS commands
...
`ToggleActiveHostChecks' is the command object for enableing/disabling active host checks on an Icinga instance.
refs #6593
2014-09-01 15:13:59 +02:00
Eric Lippmann
57dd9a699e
monitoring/commands: ToggleFeature: Use 'return $this' for documenting fluent interfaces
...
refs #6593
2014-09-01 10:29:34 +02:00
Eric Lippmann
8c82f1a868
monitoring/commands: Add common `ToggleFeature' command
...
`ToggleFeature' should be used for enabling/disabling concrete features of the monitoring host.
refs #6593
2014-08-29 15:45:35 +02:00
Eric Lippmann
4d353ac7bf
monitoring/commands: Add `CommandTransport' factory
...
Instead of auto-detecting which transport class to use, the instances configuration
now supports a new setting named `transport' with the possible values 'local' and 'remote'.
refs #6593
2014-08-29 15:36:55 +02:00
Eric Lippmann
6324192127
monitoring/commands: Throw `LogicException' if the remote host is not set in `RemoteCommandFile'
...
refs #6593
2014-08-29 15:36:11 +02:00
Eric Lippmann
6fdc436f65
monitoring/commands: Add `TransportException'
...
`TransportException' should be thrown if a command was not sent.
refs #6593
2014-08-29 15:14:53 +02:00
Eric Lippmann
249099348e
monitoring/commands: Replace `SecureShell' with `RemoteCommandFile'
...
`RemoteCommandFile' is configured via property setters instead of the too general `setEndpoint' function.
The ssh command to be executed only has the option 'BatchMode' set to 'yes' as this is enough to disable
interactive authentication methods. Further, all arguments become espaced.
refs #6593
2014-08-29 15:08:58 +02:00
Eric Lippmann
ec46b368df
monitoring/commands: Replace `LocalPipe' with `LocalCommandFile'
...
`LocalCommandFile' is configured via property setters instead of the too general `setEndpoint' function.
refs #6593
2014-08-29 15:04:48 +02:00
Eric Lippmann
2ac4a8503c
monitoring/commands: Remove the `Transport' interface
...
The `Transport' interface is superseded by the `CommandTransportInterface'.
refs #6593
2014-08-29 14:44:49 +02:00
Eric Lippmann
e7eae87f16
monitoring/commands: Replace `Command' with `IcingaCommand'
...
Since there's already a `Cli\Command', `Command' is now named `IcingaCommand'.
All concrete Icinga commands should extend `IcingaCommand' which handles
command encoding. All other "features" of the `Command' object have been removed
because theses "features" should be handled by upcoming concrete command classes.
refs #6593
2014-08-29 14:38:52 +02:00
Eric Lippmann
0e2e1bc005
monitoring/commands: Add `CommandTransportInterface'
...
All concrete Icinga command transport classes should implement the `CommandTransportInterface' .
refs #6593
2014-08-29 14:34:16 +02:00
Eric Lippmann
6b88f1c98e
Move Commandpipe/* classes from Icinga Web 2's library to the monitoring module
...
refs #6593
2014-08-26 16:35:30 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Marius Hein
73e8d60060
Implement global commands
...
resolves #4142
2013-10-19 13:25:18 +02:00
Matthias Jentsch
4f3f5c3aad
Clean up old and unused command classes
...
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
8c416a51ce
Add views and behaviour to MultiController
...
Add views for every possible action, fix some bugs in the JavaScript multi selection,
make selection hrefs in the list controllers unique to be able to handle the selection
properly
refs #3788
2013-10-18 16:44:02 +02:00
Marius Hein
0626bb19cb
Implement a simple configurable command
...
resolves #4769
2013-10-09 09:35:32 +02:00
Eric Lippmann
8baa2dec54
Command: Rename getParameters to getArguments
...
refs #4580
2013-09-16 14:46:18 +02:00
Eric Lippmann
a47db3497e
Rename BaseCommand to Command
...
refs #4580
2013-09-16 14:44:59 +02:00
Eric Lippmann
bf012fbd7e
Remove CommandType interface
...
Moved BaseCommand from the monitoring module to the application's library.
refs #4580
2013-09-16 14:39:14 +02:00
Johannes Meyer
8e60e2dcd9
Fix group and children handling of ScheduleDowntimeCommand
...
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
7045148f93
Adjust submitpassivecheckresult command handling
...
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
fef8370d5f
Adjust reschedulecheck command handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
e9dc895b37
Adjust delay notification handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
36424b508b
Adjust custom notification handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
52079b2e73
Adjust schedule downtime handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
ba7f455643
Adjust schedule downtime handling (WIP)
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
8022bf57af
Some doc fixes and other improvements
...
refs #4580
2013-09-16 13:14:28 +02:00
Jannis Moßhammer
7f4e1936f7
Fix trigger downtime default value issing, docstring fixes
...
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
b74e264f01
Refactor comment command handling
...
- Refactored Comment class
- Dropped IComment interface
- Added AddCommentCommand class
- Updated CommentForm
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
9a476f16f4
Re-refactor dispatch process of commands and acknowledgement handling
...
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
1593406f31
Refactor Acknowledgement command handling
...
#refs 4580
2013-09-04 18:07:59 +02:00
Johannes Meyer
79eb6588c5
Restructure dispatch process of commands
...
refs #4580
2013-09-04 18:07:59 +02:00
Eric Lippmann
c86874d4ba
Rename namespace Monitoring to Icingæ\Module\Monitoring
...
refs #4586
2013-09-04 11:21:11 +02:00
Jannis Moßhammer
895976550c
Fix templates, capitalization and icons in php files
...
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
2091f63c3b
Implement first commands, fix obsessing state
...
refs #4441
2013-08-06 09:27:37 +02:00
Marius Hein
a1a8d4c157
Code compliance change and rename refs to User
...
refs #4066
2013-07-30 14:06:46 +02:00
Jannis Mosshammer
e8204f4755
Merge branch 'feature/service-detail-view-4181' of ssh://git.icinga.org/icinga2-web
...
Conflicts:
library/Icinga/Application/Logger.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/Authentication/Credentials.php
library/Icinga/Authentication/Manager.php
library/Icinga/Authentication/PhpSession.php
library/Icinga/Authentication/Session.php
library/Icinga/Authentication/User.php
library/Icinga/Authentication/UserBackend.php
library/Icinga/Backend/AbstractBackend.php
library/Icinga/Backend/DataView/ObjectRemappingView.php
library/Icinga/Backend/Query.php
library/Icinga/Backend/Statusdat/DataView/StatusdatHostView.php
library/Icinga/Backend/Statusdat/HostgroupsummaryQuery.php
library/Icinga/Backend/Statusdat/HostlistQuery.php
library/Icinga/Backend/Statusdat/ServicegroupsummaryQuery.php
library/Icinga/Backend/Statusdat/ServicelistQuery.php
library/Icinga/Exception/ConfigurationError.php
library/Icinga/Exception/MissingParameterException.php
library/Icinga/Exception/NotImplementedError.php
library/Icinga/Exception/ProgrammingError.php
library/Icinga/Exception/SystemPermissionException.php
library/Icinga/Protocol/AbstractQuery.php
library/Icinga/Protocol/Commandpipe/Acknowledgement.php
library/Icinga/Protocol/Commandpipe/CommandPipe.php
library/Icinga/Protocol/Commandpipe/Comment.php
library/Icinga/Protocol/Commandpipe/Downtime.php
library/Icinga/Protocol/Commandpipe/Exception/InvalidCommandException.php
library/Icinga/Protocol/Commandpipe/IComment.php
library/Icinga/Protocol/Commandpipe/PropertyModifier.php
library/Icinga/Protocol/Ldap/Connection.php
library/Icinga/Protocol/Ldap/Exception.php
library/Icinga/Protocol/Ldap/LdapUtils.php
library/Icinga/Protocol/Ldap/Node.php
library/Icinga/Protocol/Ldap/Query.php
library/Icinga/Protocol/Ldap/Root.php
library/Icinga/Protocol/Statusdat/Exception/ParsingException.php
library/Icinga/Protocol/Statusdat/IReader.php
library/Icinga/Protocol/Statusdat/ObjectContainer.php
library/Icinga/Protocol/Statusdat/Parser.php
library/Icinga/Protocol/Statusdat/Query.php
library/Icinga/Protocol/Statusdat/Query/Expression.php
library/Icinga/Protocol/Statusdat/Query/Group.php
library/Icinga/Protocol/Statusdat/Query/IQueryPart.php
library/Icinga/Protocol/Statusdat/Reader.php
library/Icinga/Protocol/Statusdat/RuntimeStateContainer.php
library/Icinga/Protocol/Statusdat/View/AccessorStrategy.php
library/Icinga/Web/ActionController.php
library/Icinga/Web/Form.php
library/Icinga/Web/Hook/Configuration/ConfigurationTab.php
library/Icinga/Web/Hook/Configuration/ConfigurationTabBuilder.php
library/Icinga/Web/Hook/Configuration/ConfigurationTabInterface.php
library/Icinga/Web/Hook/Grapher.php
library/Icinga/Web/Hook/Toptray.php
library/Icinga/Web/ModuleActionController.php
library/Icinga/Web/Notification.php
library/Icinga/Web/Paginator/Adapter/QueryAdapter.php
library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php
library/Icinga/Web/Widget.php
modules/monitoring/application/views/helpers/MonitoringCommands.php
modules/monitoring/application/views/helpers/MonitoringFlags.php
modules/monitoring/application/views/helpers/MonitoringProperties.php
modules/monitoring/application/views/scripts/show/components/comments.phtml
modules/monitoring/application/views/scripts/show/components/downtime.phtml
modules/monitoring/application/views/scripts/show/components/flags.phtml
modules/monitoring/application/views/scripts/show/components/properties.phtml
modules/monitoring/application/views/scripts/show/header.phtml
modules/monitoring/application/views/scripts/show/host.phtml
modules/monitoring/application/views/scripts/show/service.phtml
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimeQuery.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
modules/monitoring/library/Monitoring/Backend/Statusdat.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Criteria/Order.php
modules/monitoring/library/Monitoring/Backend/Statusdat/DataView/StatusdatServiceView.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Query/GroupsummaryQuery.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Query/Query.php
modules/monitoring/library/Monitoring/Command/Meta.php
modules/monitoring/library/Monitoring/View/DowntimeView.php
modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php
modules/monitoring/test/php/application/views/helpers/MonitoringPropertiesTest.php
modules/monitoring/test/php/library/Command/MetaTest.php
2013-07-23 16:33:07 +02:00
Marius Hein
1492245788
Service detail view: Template fixes
...
refs #4181
2013-07-23 14:03:32 +02:00
Marius Hein
8d3ff94696
Remove php strict errors
...
refs #4448
2013-07-23 12:18:27 +02:00
Jannis Moßhammer
a0839ea0da
Add service detail view
...
refs #4181
2013-07-22 16:03:36 +02:00
Jannis Moßhammer
c1860e7d5d
Merge branch 'master' of ssh://git.icinga.org/icinga2-web into feature/host-overview--4179
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
modules/monitoring/application/controllers/ShowController.php
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
2013-07-15 13:52:26 +02:00
Marius Hein
e817b9b790
Host detail view
...
Add downtime sub component.
refs #4182
2013-07-08 16:12:47 +02:00
Marius Hein
6b37fcf24f
Host detail view
...
Add commands to detail view
refs #4182
2013-07-08 16:12:47 +02:00
Marius Hein
e05f46c587
Host detail view
...
Command widgets [WIP]
refs #4182
2013-07-08 16:12:47 +02:00