Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mclarkson/check_slabsize
Nagios plugin to check slab size usage as percent of total memory.
https://github.com/mclarkson/check_slabsize
Last synced: 9 days ago
JSON representation
Nagios plugin to check slab size usage as percent of total memory.
- Host: GitHub
- URL: https://github.com/mclarkson/check_slabsize
- Owner: mclarkson
- Created: 2015-11-24T09:43:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T09:53:54.000Z (almost 9 years ago)
- Last Synced: 2024-10-19T10:43:26.262Z (27 days ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
++++
++++Check Nagios Config
-------------------Check the size of Slab memory does not exceed percentage of total memory.
*INSTALL*
Example:
----
wget https://raw.github.com/mclarkson/check_slabsize/master/check_slabsize
chmod +x check_slabsize
mv check_slabsize /usr/lib64/nagios/plugins/
----*EXAMPLE OUTPUT*
----
OK: Slab at 2% of total RAM.WARNING: Slab at 73% of total RAM. | 'Slab %'=73%;50;90;;
----*MANUAL PAGE*
----
$ ./check_slabsize -hcheck_slabsize - Alert if Slab usage is high.
Usage: check_slabsize [options]
-p : Add performance data output for graphing.
-w NUM : Warning alert if Slab memory exceeds NUM % of RAM.
Default is 50.
-c NUM : Critical alert if Slab memory exceeds NUM % of RAM.
Default is 90.
-h : Display this help text.Example:
Check that Slab does not exceed 50% or 90% of RAM
./check_slabsize
----