Inherits IcingaApiCommandSend, and IcingaApiCommandInterface.
Public Member Functions | |
| checkConfig (array $config) | |
| setConfig (array $config) | |
| send () | |
| getCallStack () | |
Public Attributes | |
| const | SSH_CALL_TEMPLATE = '%s -p %d -oConnectTimeout=%d %s@%s \'echo "%s" > %s\'' |
| const | SSH_DIR = '/tmp' |
Protected Attributes | |
| $config | |
| $commands = false | |
| IcingaApiCommandSendSsh::checkConfig | ( | array $ | config | ) |
(non-PHPdoc)
Implements IcingaApiCommandInterface.
| IcingaApiCommandSendSsh::getCallStack | ( | ) |
(non-PHPdoc)
Implements IcingaApiCommandInterface.
| IcingaApiCommandSendSsh::send | ( | ) |
(non-PHPdoc)
Implements IcingaApiCommandInterface.
| IcingaApiCommandSendSsh::setConfig | ( | array $ | config | ) |
(non-PHPdoc)
Implements IcingaApiCommandInterface.
IcingaApiCommandSendSsh::$commands = false [protected] |
Reimplemented from IcingaApiCommandSend.
IcingaApiCommandSendSsh::$config [protected] |
array (
'ssh_bin' => '/usr/bin/ssh',
'ssh_user' => 'icinga',
'ssh_host' => 'localhost',
'ssh_port' => 22,
'ssh_timeout' => 20,
'ssh_pipe' => '/usr/local/icinga/var/rw/icinga.cmd',
)
Reimplemented from IcingaApiCommandSend.
| const IcingaApiCommandSendSsh::SSH_CALL_TEMPLATE = '%s -p %d -oConnectTimeout=%d %s@%s \'echo "%s" > %s\'' |
| const IcingaApiCommandSendSsh::SSH_DIR = '/tmp' |
1.6.1