Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hugepages
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Script to check usage of hugepages. Very usefull if you use hugepages f.e. together with Oracle databases.
Usage:
check_hugepages.sh {WARNING} {CRITICAL}
Output is in german:
[root@Q4DEUMSY150 libexec]# ./check_hugepages.sh 80 90
64 % der Hugepages in Nutzung
278510 MB in Nutzung
156690 MB freier Speicher verfuegbar
[root@Q4DEUMSY150 libexec]#
Just edit the script for changing the report Mail addresses and uncomment them.
ENJOY!
EDIT v1.1: changed some calc functions to work with rounding of percentage.
EDIT v1.2: added calc function for calculating complete size in MB which are assigned to hugepages.
Usage:
check_hugepages.sh {WARNING} {CRITICAL}
Output is in german:
[root@Q4DEUMSY150 libexec]# ./check_hugepages.sh 80 90
64 % der Hugepages in Nutzung
278510 MB in Nutzung
156690 MB freier Speicher verfuegbar
[root@Q4DEUMSY150 libexec]#
Just edit the script for changing the report Mail addresses and uncomment them.
ENJOY!
EDIT v1.1: changed some calc functions to work with rounding of percentage.
EDIT v1.2: added calc function for calculating complete size in MB which are assigned to hugepages.
Reviews (0)
Be the first to review this listing!