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

Directory Tree

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
5760
Files:
FileDescription
check_hugepages.shv1.2
Nagios CSP

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
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.