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
3807a22a
Commit
3807a22a
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
docs: add check_ceph_osd
parent
fd40e9e1
No related branches found
No related tags found
1 merge request
!120
docs: add check_ceph_osd
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_ceph_osd.md
+95
-0
95 additions, 0 deletions
docs/20_Checks/check_ceph_osd.md
with
96 additions
and
1 deletion
docs/20_Checks/_index.md
+
1
−
1
View file @
3807a22a
...
...
@@ -11,7 +11,7 @@ There is one include script used by all checks:
*
check_backup_one
*
[
check_ceph_diskfree
](
check_ceph_diskfree.md
)
*
[
check_ceph_io
](
check_ceph_io.md
)
*
check_ceph_osd
*
[
check_ceph_osd
](
check_ceph_osd.md
)
*
check_ceph_status
*
check_clientbackup
*
check_couchdb-lb
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_ceph_osd.md
0 → 100644
+
95
−
0
View file @
3807a22a
# Check Ceph OSDs
## Introduction
Show cheph osd status: how many OSDs exist and how many are up/ down.
This check sends performance data.
On your cluster you might want to increase the values for warning and
critical level.
## Requirements
*
`ceph`
binary and sudo permission on it to get the information
## Syntax
```
txt
______________________________________________________________________
CHECK_CEPH_OSD
v1.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
Show cheph osd status: how many OSDs exist and how many are up/ down.
This check sends performance data.
On your cluster you might want to increase the values for warning and
critical level.
SYNTAX:
check_ceph_osd [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
OPTIONS:
-h or --help show this help.
-w VALUE warning level (default: 1)
-c VALUE critical level (default: 2)
EXAMPLE:
check_ceph_osd
no parameters; normal usage to get the ceph osd status
check_ceph_osd -c 10
change to critical level if 10 osds are down.
```
## Examples
`$ check_ceph_osd`
returns
```
txt
OK: Check of available OSDs - 30 OSDs total .. 30 up .. 0 down (Limits: warn at 1; critical 2)
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 53.67825 root default
-3 9.31496 host ceph01
0 ssd 1.86299 osd.0 up 1.00000 1.00000
6 ssd 1.86299 osd.6 up 1.00000 1.00000
12 ssd 1.86299 osd.12 up 1.00000 1.00000
18 ssd 1.86299 osd.18 up 1.00000 1.00000
24 ssd 1.86299 osd.24 up 1.00000 1.00000
-5 8.73299 host ceph02
1 ssd 1.74660 osd.1 up 1.00000 1.00000
7 ssd 1.74660 osd.7 up 1.00000 1.00000
13 ssd 1.74660 osd.13 up 1.00000 1.00000
19 ssd 1.74660 osd.19 up 1.00000 1.00000
25 ssd 1.74660 osd.25 up 1.00000 1.00000
-7 8.73299 host ceph03
2 ssd 1.74660 osd.2 up 1.00000 1.00000
8 ssd 1.74660 osd.8 up 1.00000 1.00000
14 ssd 1.74660 osd.14 up 1.00000 1.00000
20 ssd 1.74660 osd.20 up 1.00000 1.00000
26 ssd 1.74660 osd.26 up 1.00000 1.00000
-9 8.73299 host ceph04
3 ssd 1.74660 osd.3 up 1.00000 1.00000
9 ssd 1.74660 osd.9 up 1.00000 1.00000
15 ssd 1.74660 osd.15 up 1.00000 1.00000
21 ssd 1.74660 osd.21 up 1.00000 1.00000
27 ssd 1.74660 osd.27 up 1.00000 1.00000
-11 9.31496 host ceph05
5 ssd 1.86299 osd.5 up 1.00000 1.00000
11 ssd 1.86299 osd.11 up 1.00000 1.00000
17 ssd 1.86299 osd.17 up 1.00000 1.00000
23 ssd 1.86299 osd.23 up 1.00000 1.00000
29 ssd 1.86299 osd.29 up 1.00000 1.00000
-13 8.84938 host ceph06
4 ssd 1.86299 osd.4 up 1.00000 1.00000
10 ssd 1.74660 osd.10 up 1.00000 1.00000
16 ssd 1.74660 osd.16 up 1.00000 1.00000
22 ssd 1.74660 osd.22 up 1.00000 1.00000
28 ssd 1.74660 osd.28 up 1.00000 1.00000
|osd-total=30;;;0;30 osd-up=30;;;0;30 osd-down=0;;;0;30
...
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