check_vgfree: Adding new plugin

This commit is contained in:
Jan Wagner 2022-02-19 20:12:22 +01:00
parent 71a9a9e8ad
commit 1effd2422a
6 changed files with 186 additions and 0 deletions

25
check_vgfree/README.md Normal file
View file

@ -0,0 +1,25 @@
# check_vgfree
Nagios plugin to check free space on LVM volume group
```console
$ chmod +x check_vgfree
$ ./check_vgfree --help
Usage: check_vgfree [options]
try: check_vgfree --help
Options:
-h, --help show this help message and exit
-c CRITICAL, --critical=CRITICAL
critical size limit
-C CP, --critical-percent=CP
% critical limit
-g VG, --volume-group=VG
volume group to check
-w WARNING, --warning=WARNING
warning size limit
-W WP, --warning-percent=WP
% warning limit
--units=UNIT size in these units: (b)ytes, (k)ilobytes,
(m)egabytes, *(g)igabytes (*DEFAULT), (t)erabytes,
(p)etabytes, (e)xabytes
```