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

Login

Remember Me

Directory Tree

check_snmp_mem

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2015-08-07
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
License
GPL
Hits
9106
Files:
FileDescription
check_snmp_mem.plmemory check linux appliance
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
simple nagios plugin that used UCD-SNMP-MIB and Nagios::Plugin model to monitor real memory usage on a linux appliance. it includes cache and buffers in the calculation of free memory.
It does not require utils.pm or any unix snmp utilities like snmget
This script was written to monitor a linux appliance residing on an external network where the nagios server did not have direct access. the only gateway to the host was a windows server.
It does not require access to utils.pm from nagios plugins.
It does not require any snmp utilies like snmpget or linux utilities like free.
you need to have install from cpan the following modules:
Net::SNMP
Nagios::PLugin
Math::Round

it attempts to calculate the real used memory on a linux using UCD-SNMP-MIB. it will return the total used percent and includes the buffer and cache in the calculations just like explained in www.linuxatemyram.com.
This is my first script...bear in mind the bugs and unorthodox coding.

usage: just drop it to a your windows plugin folder ond either configure nsclient.ini to be accessed via nrpe.
it can of course also run from a nagios server. just configure the snmp v1/2 community and the warning and critical threshold.