Linux

check_usolved_linux_realmemory – Check the real memory usage

Description:

This PHP Nagios plugin calculates the real free memory according to http://www.linuxatemyram.com/. When you think that your Linux memory is always near to 100% consumed, that is properly not true. Linux calculates the free memory in a special way. This plugin tries to get the memory that is really still free to use.

The plugin also returns performance data.

Current Version

1.0

Last Release Date

2014-11-28

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Notes
You can download the latest version and see the full documentation on GitHub. ---------------------------------------------------------- INSTALLATION: Just copy the file check_usolved_linux_realmemory.php into your Nagios plugin directory. For example into the path /usr/local/nagios/libexec/ Give check_usolved_linux_realmemory.php the permission for execution for the nagios user. If you have at least PHP 5 this plugin should run out-of-the-box. Make sure to have the PHP SNMP module installed and enabled in your php.ini. > apt-get install php5-snmp (Ubuntu, Debian, ...) or > yum install php-snmp (RedHat, CentOS, ...) ---------------------------------------------------------- USAGE: If you are in the Nagios plugin directory execute this command: ./check_usolved_linux_realmemory.php -H localhost -C public -w 90 -c 95 This should output something like this: OK - 18.8% Memory used (1119 MB of 5962 MB), 0% Swap used (0 MB of 7807 MB) Here are all arguments that can be used with this plugin: ---------------------------------------------------------- ARGUMENTS: -H (host address) Give the host address with the IP address or FQDN -C (snmp community) Give the SNMP Community String -w (warn) Warning treshold in percent -c (crit) Critical treshold in percent [-V (snmp version)] Optional: SNMP version 1 or 2c are supported, if argument not given version 1 is used by default [-P (perfdata)] Optional: Give 'yes' as argument if you wish performace data output [-S (swap)] Optional: Give 'no' as argument if you don't wish to return critical if swap is being used
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
13,324