1 | <?php |
||
12 | class RemoteProcessesGauge extends ProcessesGauge |
||
13 | { |
||
14 | /** |
||
15 | * SSH Connection string |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $sshString; |
||
20 | |||
21 | /** |
||
22 | * Path to private key |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $sshIdentityFile; |
||
27 | |||
28 | /** |
||
29 | * Ssh port |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $sshPort; |
||
34 | |||
35 | |||
36 | 1 | public function __construct($sshString, $sshPort = null, $sshIdentityFile = null, $cpuAbove = 5.0, $memoryAbove = 1.0) |
|
49 | } |