Purpose and features of the program: Checks the memory (physical and virtual) usage for Windows, Solaris, Linux servers, Cisco firewalls and MacAffee WebGateway Author: Martin Fuerstenau, Oce Printing Systems martin.fuerstenau_at_oce.com Date: 14 Jul 2011 Setting a threshold for physical memory doesn't make much sense in modern operating systems. But the virtual momory should be monitored. - Windows: Physical and virtual memory is monitored. Threshold (and alarm) for virtual memory. - Linux: Physical memory, swap space and momory buffers is monitored. Threshold (and alarm) for swap space. - Solaris: This is a little bit tricky. The swapfs (virtual memory) uses a part of the physical memory and the swap space. With most memory plugins you only will have the swap space monitored. This plugin monitors the virtual monitor physical momory, virtual memory and swapspace. If you look for you swapspace with swap -l you will see the use of your swapfs and not of the swapspace. Threshold (and alarm) is based on virtual memory (swapfs) ./check_snmp_memory -h check_snmp_memory,Version 1.1 Copyright (c) 2011 Martin Fuerstenau - Oce Printing Systems Usage: check_snmp_memory -H [-C community] [--cisco] -w -c or Usage: check_snmp_memory -h for help. -H, --hostname=HOST Name or IP address of host to check -C, --community=community SNMP community (default public) -v, --snmpversion=snmpversion Version of the SNMP protocol. At present version 1 or 2c -p, --portsnmpversion=snmpversion Version of the SNMP protocol. At present version 1 or 2c -w, --warning=threshold Warning threshold of memory usage in percent for virtual memory (MS Windows systems), swap space (Linux systems) or swapfs (Solaris) -c, --critical=threshold Critical threshold of memory usage in percent for virtual memory (MS Windows systems) or swap space (Unix/Linux systems) --cisco It is a cisco firewall and not a standard Linux system -h, --help Short help message