pmp-check-unix-memory

pmp-check-unix-memory - Alert on low memory, or when a process uses too much memory.

SYNOPSIS

Usage: pmp-check-unix-memory [OPTIONS]
Options:
  -c CRIT     Critical threshold; default 95%.
  -d          Disable single process memory check; default enabled.
  -w WARN     Warning threshold; default 90%.
  --help      Print help and exit.
  --version   Print version and exit.
Options must be given as --option value, not --option=value or -Ovalue.
Use perldoc to read embedded documentation with more details.

DESCRIPTION

This Nagios plugin examines the output of free and ps to look for two conditions. The first is when the system is running out of memory, and the second is when any single process uses too much memory. However, there is an option to disable the second condition. Both checks are compared to the same thresholds.

For example, on a system with 144GB of memory, with the default options, the plugin might produce the following warning:

WARN Memory: 94% used; largest process: mysqld (16675) = 133149.54MB (91%)

Both the total used memory (94%) and the virtual size of mysqld (91%) are over the warning threshold. If one of these tests evaluates to a higher severity than the other, the more serious result prevails.

The plugin is tested on GNU/Linux, but may also work on other Unix-like operating systems, if the output of ps and free can be recognized.

PRIVILEGES

This plugin does not access MySQL.

This plugin executes the following UNIX commands that may need special privileges:

  • free
  • ps

VERSION

Percona Monitoring Plugins pmp-check-unix-memory 1.0.5

Percona Monitoring Plugins
Call Us
+1-888-316-9775 (USA - Sales)
+1-208-473-2904 (USA - Sales)
+44-208-133-0309 (UK - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-877-862-4316 (Emergency)
+1-855-55TRAIN (Training)
+1-925-271-5054 (Training)

Table Of Contents

Previous topic

pmp-check-pt-table-checksum

Next topic

Percona Monitoring Plugins for Cacti



© Copyright 2012, Percona Inc.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
{@ footer_documentation_bugs @}
This documentation is developed in Launchpad as part of the Percona Monitoring Plugins source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.
{@ /footer_documentation_bugs @} ]]>