1 | <?php |
||
16 | class MemoryMonitoring extends AbstractMonitoring |
||
17 | { |
||
18 | private $maxUsed; |
||
19 | |||
20 | /** |
||
21 | * @param array $config |
||
22 | * @param String $name |
||
23 | */ |
||
24 | public function __construct($config, $name) |
||
29 | |||
30 | /** |
||
31 | * @return integer Percentage of use memory |
||
32 | */ |
||
33 | public function getMetric() |
||
44 | |||
45 | /** |
||
46 | * @return string "None" |
||
47 | */ |
||
48 | public function getUnit() |
||
52 | |||
53 | /** |
||
54 | * @return array Alarm max for memory used |
||
55 | */ |
||
56 | public function getAlarms() |
||
64 | } |
||
65 |