Johannes Meyer
5b1e9be316
Make command parameters with multiple lines work, again
...
fixes #6088
2014-12-18 15:41:35 +01:00
Johannes Meyer
cee68877a9
ProcessCheckResultCommand: Indicate a incompatibility with icinga2
...
Should be solved by checking the backend's version on runtime
2014-12-11 15:56:23 +01:00
Johannes Meyer
abfef2cc11
Fix wrong command being rendered for passive service check results
...
refs #6854
2014-12-11 15:53:12 +01:00
Eric Lippmann
c626762b5d
commands: Fix wrong flag for sticky acks
...
It's 2 not 1. But who knows why :)
fixes #7783
2014-11-21 16:33:46 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Eric Lippmann
0bf6dc24a8
monitoring: Use command transports constants in the command transport factory
2014-10-30 09:53:55 +01:00
Eric Lippmann
8ee52f8737
monitoring: throw meaningful logic exceptions in the command file classes
2014-10-29 11:36:00 +01:00
Eric Lippmann
e7ef1826b7
monitoring: Don't translate exception messages in the remote command file
2014-10-29 10:00:59 +01:00
Eric Lippmann
1cc1521607
monitoring: Don't translate exception messages in the local command file
2014-10-29 10:00:29 +01:00
Eric Lippmann
12cadb52ca
Command transport: Show helpful exception messages
...
refs #7437
2014-10-24 11:45:58 +02:00
Eric Lippmann
d475ccd569
IcingaCommand: Fix strict standards violation: Only variables should be passed by reference
2014-10-16 15:37:07 +02:00
Eric Lippmann
e847770135
monitoring/commands: Remove false property from the schedule service check command
...
refs #6593
2014-09-23 22:19:35 -07:00
Eric Lippmann
70500be5f7
monitoring/commands: Fix the delete comment and delete downtime commands
...
They included the involved object's name which is wrong.
refs #6593
2014-09-23 17:40:13 -07:00
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