Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_freemem.sh
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!
Simple script shell (dash) that shows total free RAM amount (currently print free -h command output).
note: remember to assign execute permission to the script (chmod +x check_freeram.sh)
=======
Usage: check_freemem.sh -w WarnRAMLevel -c CriticalRAMLevel
example => check_freemem.sh -w 20 -c 15
example => check_freemem.sh -w25 -c20
=arguments and default values if arg is missing=
-w = warning level of real free ram in Gb {def: 12}
-c = critical level of real free ram in Gb {def: 9}
-h = this help
.:: notes ::.
.: arguments order is not relevant
.: between argument and value can be a space or not
.: values are in Gb
note: remember to assign execute permission to the script (chmod +x check_freeram.sh)
=======
Usage: check_freemem.sh -w WarnRAMLevel -c CriticalRAMLevel
example => check_freemem.sh -w 20 -c 15
example => check_freemem.sh -w25 -c20
=arguments and default values if arg is missing=
-w = warning level of real free ram in Gb {def: 12}
-c = critical level of real free ram in Gb {def: 9}
-h = this help
.:: notes ::.
.: arguments order is not relevant
.: between argument and value can be a space or not
.: values are in Gb
Reviews (0)
Be the first to review this listing!