Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hugepages
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!