Adding check_oom
This commit is contained in:
parent
bbf8984c1b
commit
c175581409
6 changed files with 795 additions and 0 deletions
20
check_oom/README.md
Normal file
20
check_oom/README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# icinga2_check_oom
|
||||
Icinga2/Nagios check for Out of memory problems. ATM it check all dmesg output. If you want after check make it green again, you need to run dmesg -c.
|
||||
|
||||
```bash
|
||||
usage: check_oom.py [-h] [-m {warning,critical,default}] [-v]
|
||||
|
||||
Check for OOM killer events
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-m {warning,critical,default}, --mode {warning,critical,default}
|
||||
Mode of results for this check: warning, critical,
|
||||
default
|
||||
-s, --short If this option is specified, check ignores dmesg OOM
|
||||
problems older then 24 hours
|
||||
-v, --verbose Show verbose output from demsg about OOM killer events
|
||||
|
||||
check_oom.py: v.1.1 by Dmytro Prokhorenkov
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue