| 1 | <?php |
||
| 17 | class DiskMonitoring extends AbstractMonitoring |
||
| 18 | { |
||
| 19 | private $maxUtil; |
||
| 20 | private $partition; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array $config |
||
| 24 | * @param String $name |
||
| 25 | */ |
||
| 26 | public function __construct($config, $name) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return integer Percentage of use disk space |
||
| 35 | */ |
||
| 36 | public function getMetric() |
||
| 41 | /** |
||
| 42 | * @return string "None" |
||
| 43 | */ |
||
| 44 | public function getUnit() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return array Alarm min and max for number of apache process |
||
| 51 | */ |
||
| 52 | public function getAlarms() |
||
| 60 | } |
||
| 61 |