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
e5d18895
Commit
e5d18895
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
add docs for ceph_status
parent
c3601f8c
No related branches found
No related tags found
1 merge request
!121
Update docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/20_Checks/check_ceph_status.md
+67
-0
67 additions, 0 deletions
docs/20_Checks/check_ceph_status.md
with
67 additions
and
0 deletions
docs/20_Checks/check_ceph_status.md
0 → 100644
+
67
−
0
View file @
e5d18895
# Check Ceph Status
## Introduction
**check_ceph_sttaus**
is a plugin to show ceph status.
It switches the state in dependency of the HEALTH_
*
value.
## Requirements
*
`ceph`
binary and sudo permission on it to get the information
## Syntax
```
txt
______________________________________________________________________
DEV_CHECK_CEPH_STATUS
v1.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
Show ceph health status.
The state of the check switches to warning if HEALTH_WARN was detected
and is error of other HEALTH values than HEALTH_WARN or HEALTH_OK.
In the output is the complete output of the command "ceph status".
SYNTAX:
check_ceph_status
OPTIONS:
-h or --help show this help.
```
### Parameters
(none)
## Examples
`$ check_ceph_status`
returns
```
txt
OK: Ceph status is HEALTH_OK
cluster:
id: 12345678-68e3-4c21-bf95-4b5f802f81a4
health: HEALTH_OK
services:
mon: 3 daemons, quorum cephmon1,cephmon2,cephmon3 (age 2w)
mgr: cephmon3(active, since 2w), standbys: cephmon2, cephmon1
osd: 30 osds: 30 up (since 2w), 30 in (since 5w)
data:
pools: 3 pools, 161 pgs
objects: 608.44k objects, 2.3 TiB
usage: 6.9 TiB used, 47 TiB / 54 TiB avail
pgs: 161 active+clean
io:
client: 896 KiB/s rd, 12 MiB/s wr, 372 op/s rd, 401 op/s wr
```
\ No newline at end of file
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