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.
check_mem.pl that uses /sbin/sysctl instead of vmstat for FreeBSD
Current Version
Last Release Date
June 18, 2009
Owner
Nagios Exchange
Website
http://www.icann.org/
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2009/06/check_mem.pl
check_mem.pl that uses /sbin/sysctl instead of vmstat for FreeBSD 6.0+ (Previous versions untested.)
If you want some different calculations, like having free memory equals free+buffered+cached, then you need to make a couple of changes: add my $mem_buff = $sysctl->{"vfs.bufspace"}; and change: #$free_memory = $mem_inactive + $mem_cache + $mem_free + $mem_buff; $free_memory = $mem_cache + $mem_free + $mem_buff;
You must be logged in to submit a review.
To:
From: