Linux

Check_Ram on Linux 32-bit and 64-bit systems

Description:

Checks the ram usage on the local machine, good for remote checks using nrpe. Works on 32-bit and 64-bit Linux systems.

Current Version

Last Release Date

June 17, 2009

Compatible With


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!
Project Files
Project Notes
Just run it. The help displays all the necessary details, it follows the standards of all the other nagios plugins. Any comments, suggestions or requests to hpsekhon(at)googlemail.com
Reviews (1) Add a Review
little hack to add PerfData
by Markhor, November 30, 2013
I have made some chalges on lines between lines 68-88 to add PerfData :

if percent == True:
percentage_free = int( float(total_free) / float(memtotal) * 100 )
if percentage_free _threshold)
return CRITICAL
elif percentage_free %d MB used)|percent_free_ram=%d;%d;%d" % (percentage_free,total_used_megs,memtotal_megs,percentage_free,warning_threshold,critical_threshold)
return WARNING
else:
print "RAM OK: %d%% ram free|percent_free_ram=%d;%d;%d" % (percentage_free,percentage_free,warning_threshold,critical_threshold)
return OK
else:
if total_free return WARNING
else:
print "RAM OK: %dMB ram free|free_ram=%d;" % (total_free_megs,total_free_megs)
return OK
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
147,449