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.
Checks memory usage on OpenBSD.
Current Version
Last Release Date
June 12, 2009
Owner
Nagios Exchange
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2009/06/check_openbsd_mem.sh
Version 0.2 - 2008-12-31
Description
The OpenBSD Memory Plugin for Nagios checks the used/free/total memory and can optional output performance data.
It's a shell script and use the command line tool top in batch mode to get the current memory usage.
You can set warning and critical values (integer/percentage). If the free memory under the warning value, the plugin exit with a STATE_WARNING. If the free memory under the critical value the plugin exit with a STATE_CRITICAL. Install
Tested with Nagios 3 on OpenBSD 4.2, but it might be working also in Nagios 1 and 2 and other OpenBSD versions.
* Download the script. * If the nagios-plugin package isn't already installed, install it. * Copy the script to /usr/local/libexec/nagios/. * Set the executable flag chmod +x /usr/local/libexec/nagios/check_openbsd_mem.sh.
Example usage
/usr/local/libexec/nagios/check_openbsd_mem.sh -w 15% -c 10% -p
Will produce following output:
OK - Free: 856M Used: 145M Total: 1001M | 856;145;1001;150;100
You must be logged in to submit a review.
To:
From: