Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Simple script shell to monitor available RAM.
Current Version
1.0
Last Release Date
2024-09-16
Owner
Davide Lemma
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2024/09/check_freemem.sh
License
GPL
Compatible With
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
You must be logged in to submit a review.
To:
From: