@@ 52-59 (lines=8) @@ | ||
49 | /** |
|
50 | * @return array Alarm min and max for number of apache process |
|
51 | */ |
|
52 | public function getAlarms() |
|
53 | { |
|
54 | return array( |
|
55 | array("ComparisonOperator" => "GreaterThanThreshold", |
|
56 | "Threshold" => $this->maxUtil, |
|
57 | "Name" => $this->name . " exceed " . $this->config->maxUtil . " %") |
|
58 | ); |
|
59 | } |
|
60 | } |
|
61 |
@@ 55-62 (lines=8) @@ | ||
52 | /** |
|
53 | * @return array Alarm max for memory used |
|
54 | */ |
|
55 | public function getAlarms() |
|
56 | { |
|
57 | return array( |
|
58 | array("ComparisonOperator" => "GreaterThanThreshold", |
|
59 | "Threshold" => $this->maxUsed, |
|
60 | "Name" => $this->name . " exceed " . $this->config->maxUtil . " %") |
|
61 | ); |
|
62 | } |
|
63 | } |
|
64 |