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
c2e18fe9
Commit
c2e18fe9
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update docs
parent
84dc3f67
Branches
Branches containing commit
No related tags found
1 merge request
!229
add docker info with count of containers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/20_Checks/check_docker_info.md
+15
-48
15 additions, 48 deletions
docs/20_Checks/check_docker_info.md
with
15 additions
and
48 deletions
docs/20_Checks/check_docker_info.md
+
15
−
48
View file @
c2e18fe9
...
@@ -15,71 +15,38 @@ This check sends performance data.
...
@@ -15,71 +15,38 @@ This check sends performance data.
```
txt
```
txt
______________________________________________________________________
______________________________________________________________________
CHECK_DISK-IO
CHECK_DOCKER_INFO
v1.1
v1.0
Check dis io and latency
(c) Institute for Medical Education - University of Bern
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
Licence: GNU GPL 3
______________________________________________________________________
Disk infos based on /sys/block/[NAME]/stat
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_docker_info.html
See https://www.kernel.org/doc/Documentation/block/stat.txt
______________________________________________________________________
and https://www.kernel.org/doc/Documentation/iostats.txt
The system data are counters that are difficult to read.
Show docker version and count of containers total and by its status.
The output of this check for each value a delta value per second since
last check.
SYNTAX
:
USAGE
:
check_d
isk-io -m MODE
check_d
ocker_info [OPTIONS]
OPTIONS:
OPTIONS:
-h this help
-m MODE set mode for type of output (required)
EXAMPLES:
-h or --help show this help.
check_docker_info
PARAMETERS:
MODE
io read I/Os, write I/Os, discard I/0s
ticks read ticks, write ticks, discard ticks
wait total wait time for all requests
EXAMPLE:
check_disk-io -m io
```
```
### Parameters
### Parameters
`-m <MODE>`
where MODE is a string to define kind of output
.
None
.
## Examples
## Examples
`$ check_d
isk-io -m i
o`
returns
`$
./
check_d
ocker_inf
o`
returns
```
txt
```
txt
OK: Disk data ... read I/Os, write I/Os, discard I/0s, number of I/Os currently in flight
OK: Docker 20.10.14 (Community Engine) .. containers: 2 running: 2 paused: 0 stopped: 0 .. images: 5
All containers are running
--- sda
|containers-running=2;;;0;2 containers-paused=0;;;0;2 containers-stopped=0;;;0;2 images=33;;
disk-sda-ReadIO: 0
disk-sda-WriteIO: 0
disk-sda-DiscardIO: 0
disk-sda-FlightIO: 0
--- nvme0n1
disk-nvme0n1-ReadIO: 3
disk-nvme0n1-WriteIO: 16
disk-nvme0n1-DiscardIO: 4
disk-nvme0n1-FlightIO: 0
--- TOTAL
ReadIO: 3
WriteIO: 16
DiscardIO: 4
FlightIO: 0
|readio=3;; writeio=16;; discardio=4;; flightio=0;;
```
```
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