Skip to content

Commit 83cc5c9

Browse files
committed
improved README.md
1 parent dc93494 commit 83cc5c9

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

disk-io/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Check "disk-io" - Overview
22

3+
Checks the disk throughput over a certain amount of time. Warns only if any of your disks is above a certain throughput threshold within the last n checks (default: 5).
4+
5+
Hints and Recommendations:
6+
* `--count=5` (the default) while checking every minute means that the check reports a warning if any of your disks was above a threshold in the last 5 minutes.
7+
* Check uses a SQLite database in `/tmp` to store its historic data.
8+
* If you are wondering about `dm-0`, `dm-1` etc.: It's part of the "device mapper" in the kernel, used by LVM. Use `dmsetup ls` to see what is behind it.
9+
310
We recommend to run this check every minute.
411

512

@@ -10,23 +17,30 @@ Requirements:
1017

1118
```bash
1219
./disk-io
20+
./disk-io --ignore sr0 --ignore dm-1 --warning 100 --critical 200 --count 15
1321
./disk-io --help
1422
```
1523

1624

1725
# States
1826

19-
tbd
27+
* OK if disk throughput of all disks is below the thresholds within the last `--count` checks.
28+
* Otherwise CRIT or WARN.
2029

2130

2231
# Perfdata
2332

24-
tbd
33+
Per disk:
34+
35+
* read_bytes_per_second: number of bytes read
36+
* read_count_per_second: number of reads
37+
* write_bytes_per_second: number of bytes written
38+
* write_count_per_second: number of writes
2539

2640

2741
# Known Issues and Limitations
2842

29-
tbd
43+
There is no latency measurement due to the fact that the current `psutil` version (5.2) does not expose latency stats.
3044

3145

3246
# Credits, License

0 commit comments

Comments
 (0)