Commit Graph

70 Commits

Author SHA1 Message Date
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