Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
ee7074ff
Commit
ee7074ff
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
add doc page
parent
38b48115
No related branches found
No related tags found
1 merge request
!138
6468 docs and harmonize
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/20_Checks/_index.md
+1
-1
1 addition, 1 deletion
docs/20_Checks/_index.md
docs/20_Checks/check_opencpu.md
+65
-0
65 additions, 0 deletions
docs/20_Checks/check_opencpu.md
with
66 additions
and
1 deletion
docs/20_Checks/_index.md
+
1
−
1
View file @
ee7074ff
...
...
@@ -30,7 +30,7 @@ There is one include script used by all checks:
*
[
check_netstat
](
check_netstat.md
)
*
[
check_onehost
](
check_onehost.md
)
*
[
check_onevm
](
check_onevm.md
)
*
check_opencpu
*
[
check_opencpu
](
check_opencpu.md
)
*
check_packages2install
*
check_php-fpm-status
*
check_proc_mem
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_opencpu.md
0 → 100644
+
65
−
0
View file @
ee7074ff
# check_opencpu
## Introduction
Test if OpenCpu is available via http and test if given packages are installed.
### Requirements
*
wget
## Syntax
```
text
> ./check_opencpu -h
______________________________________________________________________
CHECK_OPENCPU
v1.4
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_opencpu.html
______________________________________________________________________
Test if opencpu is available.
It returns OK if
- opencpu is running on http://localhost/ocpu
- all packages are installed:
eosceGLM eosceLinReg eosceReliability eosceReporter msrdAnalytics
SYNTAX:
check_opencpu [-h] [-p PKG]
OPTIONS:
-h or --help show this help and exit.
PARAMETERS:
-p PKG(s) define package to test; for multiple packages quote
it and delimit them with space.
EXAMPLES:
check_opencpu -p "myPackage1 myPackage2 anotherPackage"
Check given opencpu packages
check_opencpu -p ""
Check Opencpu only (without packages)
```
## Examples
### Check with packages
```
txt
OpenCpu: OK
OK: openCpu is running and reachable with http
OK: package is available [myPackage1] .. Build: R 4.1.1; ; 2021-11-09 10:18:01 UTC; unix
OK: package is available [myPackage2] .. Build: R 4.1.1; ; 2022-03-07 11:07:03 UTC; unix
OK: package is available [anotherPackage] .. Build: R 4.1.2; ; 2023-07-18 08:32:57 UTC; unix
```
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