Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Commits
65303135
Commit
65303135
authored
6 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public_html/appmonitor/index.php
+13
-2
13 additions, 2 deletions
public_html/appmonitor/index.php
with
13 additions
and
2 deletions
public_html/appmonitor/index.php
+
13
−
2
View file @
65303135
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment