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
7e509e4e
Commit
7e509e4e
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update ceph_io and docs
parent
b6b3c31c
Branches
Branches containing commit
No related tags found
1 merge request
!192
6723 sudo
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
check_ceph_io
+3
-2
3 additions, 2 deletions
check_ceph_io
docs/20_Checks/check_ceph_io.md
+4
-2
4 additions, 2 deletions
docs/20_Checks/check_ceph_io.md
with
7 additions
and
4 deletions
check_ceph_io
+
3
−
2
View file @
7e509e4e
...
...
@@ -19,11 +19,12 @@
# 2023-05-10 v1.2 <axel.hahn@unibe.ch> add tests
# 2023-05-11 v1.3 <axel.hahn@unibe.ch> handle ceph status without io data in output
# 2023-07-27 v1.4 <axel.hahn@unibe.ch> update help page
# 2023-10-20 v1.5 <axel.hahn@unibe.ch> harden sudo command execution
# ======================================================================
.
$(
dirname
$0
)
/inc_pluginfunctions
export
self_APPVERSION
=
1.
4
export
self_APPVERSION
=
1.
5
function
showHelp
(){
local
_self
;
_self
=
$(
basename
$0
)
...
...
@@ -87,7 +88,7 @@ else
ph.require ceph
# --- get output of ceph
if
!
CEPHOUT
=
$(
sudo
ceph status 2>&1
)
;
then
if
!
CEPHOUT
=
$(
sudo
-n
ceph status 2>&1
)
;
then
ph.setStatus
"unknown"
ph.status
"no data"
echo
"There is no output from 'sudo ceph status'."
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_ceph_io.md
+
4
−
2
View file @
7e509e4e
...
...
@@ -18,11 +18,13 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/ceph
```
txt
______________________________________________________________________
CHECK_CEPH_IO
v1.
3
CHECK_CEPH_IO
v1.
5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_ceph_io.html
______________________________________________________________________
Show cheph IO as read and written bytes per second.
...
...
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