Skip to content
Snippets Groups Projects
Commit 65303135 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'appmonitor-fix' into 'master'

Appmonitor fix

See merge request !101
parents 4d7ff12d 403baff5
No related branches found
No related tags found
No related merge requests found
......@@ -143,6 +143,17 @@ $oMonitor->addCheck(
)
);
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']){
$oMonitor->addCheck(
array(
"name" => "Certificate check",
"description" => "Check if SSL cert is valid and does not expire soon",
"check" => array(
"function" => "Cert",
),
)
);
}
// ----------------------------------------------------------------------
......@@ -273,7 +284,7 @@ $oMonitor->addCheck(
$oMonitor->addCheck(
array(
"name" => "plugin Load",
"description" => "check current load",
"description" => "current load",
"check" => array(
"function" => "Loadmeter",
"params" => array(
......@@ -287,7 +298,7 @@ $oMonitor->addCheck(
$oMonitor->addCheck(
array(
"name" => "plugin ApacheProcesses",
"description" => "check count running Apache processes",
"description" => "Apache processes",
"check" => array(
"function" => "ApacheProcesses",
"params" => array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment