IcingaApiCommandSendSsh Class Reference

Inherits IcingaApiCommandSend, and IcingaApiCommandInterface.

Collaboration diagram for IcingaApiCommandSendSsh:
[legend]

List of all members.

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

Detailed Description

Author:
Christian Doebler <christian doebler@netways.de>

Member Function Documentation

IcingaApiCommandSendSsh::checkConfig ( array $  config  ) 

(non-PHPdoc)

See also:
objects/command/IcingaApiCommandInterfacecheckConfig()

Implements IcingaApiCommandInterface.

IcingaApiCommandSendSsh::getCallStack (  ) 

(non-PHPdoc)

See also:
objects/command/IcingaApiCommandInterfacegetCallStack()

Implements IcingaApiCommandInterface.

IcingaApiCommandSendSsh::send (  ) 

(non-PHPdoc)

See also:
objects/command/IcingaApiCommandInterfacesend()

Implements IcingaApiCommandInterface.

IcingaApiCommandSendSsh::setConfig ( array $  config  ) 

(non-PHPdoc)

See also:
objects/command/IcingaApiCommandInterfacesetConfig()

Implements IcingaApiCommandInterface.

Here is the call graph for this function:


Member Data Documentation

IcingaApiCommandSendSsh::$commands = false [protected]

Reimplemented from IcingaApiCommandSend.

IcingaApiCommandSendSsh::$config [protected]
Initial value:
 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\''

The documentation for this class was generated from the following file:

Generated on Thu Jan 14 15:06:46 2010 for ICINGA-API by  doxygen 1.6.1