Icinga Plugin to calculate the % of memory used (from SNMP data)


check_snmp_memusage_percent - Icinga Plugin Script (Check Command).

It calculate the percentage of memory usage from received SNMP data

Tested on Debian GNU/Linux 8.7 (Jessie) with Icinga r2.6.3-1

Put here: /usr/lib/nagios/plugins/

PreReq: snpmget tool



$ /usr/lib/nagios/plugins/ [OPTIONS]

Option  Long option       Meaning
------  ---------------   -------
-H      --hostname        Host name, IP Address
-P      --protocol        SNMP protocol version. Possible values: 1|2c|3
-C      --community       SNMPv1/2c community string for SNMP communication (for example,public)
-L      --seclevel        SNMPv3 securityLevel. Possible values: noAuthNoPriv|authNoPriv|authPriv
-a      --authproto       SNMPv3 auth proto. Possible values: MD5|SHA
-x      --privproto       SNMPv3 priv proto. Possible values: DES|AES
-U      --secname         SNMPv3 username
-A      --authpassword    SNMPv3 authentication password
-X      --privpasswd      SNMPv3 privacy password
-t      --total-mem-oid   Total memory OID
-f      --free-mem-oid    Free memory OID
-w      --warning         Warning threshold for memory usage percents
-c      --critical        Critical threshold for memory usage percents
-q      --help            Show this message
-v      --version         Print version information and exit

Example for Digi AnywhereUSB device:

$ ./ -H -P 1 -C public \
-t \
-f \
-w 85 -c 95

Icinga Director integration manual (in Russian):

Icinga плагин snmp_memusage_percent для мониторинга процента утилизации памяти по данным, полученным по SNMP