Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_hugepages

Rating
0 votes
Favoured:
0
Current Version
1.1
Last Release Date
2017-06-09
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Hits
3598
Files:
FileDescription
check_hugepages.shv1.2
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Script to check usage of hugepages. Very usefull if you use hugepages f.e. together with Oracle databases
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.