21 Commits

Author SHA1 Message Date
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 338d067aba41dd6e9178cebec5433eecd614196e.
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
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
33e0fbb7d9 monitoring/commands: Fix code compliance
refs #6593
2014-09-12 16:53:48 +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
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
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
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