Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MFA Server
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
MFA Server
Commits
eecbbc1c
Commit
eecbbc1c
authored
2 weeks ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update appmonitor check:
- tagging - ssl cert check
parent
c7113476
No related branches found
No related tags found
1 merge request
!49
update appmonitor check:
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public_html/appmonitor/index.php
+32
-0
32 additions, 0 deletions
public_html/appmonitor/index.php
with
32 additions
and
0 deletions
public_html/appmonitor/index.php
+
32
−
0
View file @
eecbbc1c
...
...
@@ -21,6 +21,12 @@ $oMonitor = new appmonitor();
// $oMonitor->addTag('cms');
// $oMonitor->addTag('production');
$oMonitor
->
setWebsite
(
'MFA Server'
);
// $oMonitor->setTTL(300);
$oMonitor
->
addTag
(
'mfa'
);
$oMonitor
->
addTag
(
'infrastructure'
);
// $oMonitor->addTag('production');
// a general include ... the idea is to a file with the same actions on all
// installations and hosts that can be deployed by a software delivery service
// (Puppet, Ansible, ...)
...
...
@@ -222,6 +228,32 @@ $oMonitor->addCheck(
);
// ----------------------------------------------------------------------
// SSL certificate
// ----------------------------------------------------------------------
require
'plugins/apps/shared_check_ssl.php'
;
// ----------------------------------------------------------------------
// Free space on disk
// ----------------------------------------------------------------------
// $oMonitor->addCheck(
// [
// "name" => "Free space in media dir ",
// "description" => "The file storage must have some free space left",
// "check" => [
// "function" => "Diskfree",
// //"parent" => "read config file",
// "params" => [
// "directory" => __DIR__."/../media",
// "warning" => "1GB",
// "critical" => "100MB",
// ],
// ],
// ]
// );
// ----------------------------------------------------------------------
// send the response
...
...
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