| 1 | <?php |
||
| 16 | class ApacheMonitoring extends AbstractMonitoring |
||
| 17 | { |
||
| 18 | private $maxApacheProcess; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param array $config |
||
| 22 | * @param String $name |
||
| 23 | */ |
||
| 24 | public function __construct($config, $name) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return integer Number of apache processus |
||
| 32 | */ |
||
| 33 | public function getMetric() |
||
| 39 | /** |
||
| 40 | * @return string "None" |
||
| 41 | */ |
||
| 42 | public function getUnit() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return array Alarm min and max for number of apache process |
||
| 49 | */ |
||
| 50 | public function getAlarms() |
||
| 61 | } |
||
| 62 |