Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_usolved_linux_realmemory - Check the real memory usage
1.0
2014-11-28
- Nagios 3.x
GPL
13278
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!
The plugin also returns performance data.
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
----------------------------------------------------------
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)
Be the first to review this listing!