Home Directory Plugins System Metrics Networking check_snmp_cisco_memutil.pl

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree


2 votes
Current Version
Last Release Date
Compatible With
  • Nagios 3.x
check_snmp_cisco_memutil.plCheck Cisco Device Memory
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Updated version of Opsview's check_snmp_cisco_memutil.pl
Shows Total, Used & Free Memory on many Cisco devices.
# Added -f Perfdata output. Results used in Splunk for Nagios.
# Changed Alert levels to warnings on SNMP related issues.

check_snmp_cisco_memutil v2.1.1

Memory utilization on Cisco devices

Usage: check_snmp_cisco_memutil -H -c [...]
Options: -H Hostname or IP address
-C Community (default is public)
-w Warning threshold (as %)
-c Critical threshold (as %)
-f Show Perfdata

Reviews (2)
bylizaoreo, July 24, 2015
Did what I needed it to with a slight modification for PNP4Nagios support. For whatever reason PNP4Nagios wouldn't graph the data for me straight up, so I modified line 156 to the below instead and it now graphs. The only issue is it doesn't seem to be setting the max right because PNP4Nagios has the top just a little above the actual (IE, instead of showing 300MB as the top, it shows 40MB with 37MB used). Not a big concern right now, probably something I've done wrong, but I'm quite happen with it now.

$temp = sprintf 'MEMORY: total: %.2f MB, used: %.2f MB (%.0f%%), free: %.2f MB | MemUsed=%2$d;%5$d;%6$d;0;%1$d', ( $memtotal / 1000000 ), ( $mem5minused / 1000000 ), $mempcused, ( $mem5minfree / 1000000 ), $warning, $critical;
byKats, August 26, 2014
Plugin itself is good, shows nice data output - for example Status is OK - MEMORY: total: 344.24 MB, used: 46.31 MB (13%), free: 297.93 MB
Only thing that is not good, is that it does not draw graphs.