memory check plugin for SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dinush
Posts: 19
Joined: Thu Jun 13, 2013 4:42 am

memory check plugin for SNMP

Post by dinush »

is there a memory check plugin through SNMP ,which excludes cache memory which also having performance graphs?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: memory check plugin for SNMP

Post by rkennedy »

What OS are you using?
Former Nagios Employee
dinush
Posts: 19
Joined: Thu Jun 13, 2013 4:42 am

Re: memory check plugin for SNMP

Post by dinush »

centos 6.6 64 bit . installed thorugh OVA image file given by Nagios
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: memory check plugin for SNMP

Post by rkennedy »

Ack - my bad, I meant what OS are you looking to monitor through SNMP? Guessing either *nix or Windows.
Former Nagios Employee
dinush
Posts: 19
Joined: Thu Jun 13, 2013 4:42 am

Re: memory check plugin for SNMP

Post by dinush »

it's Suse Linux ..

And I need below plugins with performance data for graphing/reporting. (I’m using agentless SNMP monitoring)

- Memory check – used memory% excluding cache (graph should contain all values- total/used/free/cache/swap memory.. etc)
- IO check -
- Network bandwidth check –
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: memory check plugin for SNMP

Post by rkennedy »

The 'Linux SNMP' wizard should cover the memory / swap usage.

As for the IO check, and network bandwidth check, you'll want to use the 'SNMP walk wizard' to monitor these metrics, as long as they're available via SNMPD. I would run a snmpwalk - snmpwalk -v 2c -c public ip.of.suse.machine (replace community / version as needed) - to see everything that's available. Once you find the MIB/OID you want to monitor the metrics for, then plug that OID / MIB into the 'OID' variable in the SNMP walk wizard which will allow you to setup a check.
Former Nagios Employee
dinush
Posts: 19
Joined: Thu Jun 13, 2013 4:42 am

Re: memory check plugin for SNMP

Post by dinush »

i've added the plugin through wizard and below command gives only physical memory. As my systems always use more cache memory (most of the time more than half) , eveytime my physical memory shows as 99% and getting lots of alert mails. So need to get alerts excluding cache memory.(and the graphs too)

check_snmp_storage_wizard.pl -H <IP> -C public --v2c -w 80 -c 90 -f -m Physical
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: memory check plugin for SNMP

Post by rkennedy »

Can you show us the full output of the snmpwalk against the machine? We'll need to see if that variable is available for the cached memory.
Former Nagios Employee
dinush
Posts: 19
Joined: Thu Jun 13, 2013 4:42 am

Re: memory check plugin for SNMP

Post by dinush »

below is the command

# /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H <IP>
Put snmp login info!
Usage: check_snmp_storage [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -m <name in desc_oid> [-q storagetype] -w <warn_level> -c <crit_level> [-t <timeout>] [-T pl|pu|bl|bu ] [-r -s -i -G] [-e] [-S 0|1[,1,<car>]] [-o <octet_length>] [-R <% reserved>]
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: memory check plugin for SNMP

Post by rkennedy »

I actually need you to run snmpwalk -v 2c -c <communitystring> <ip.of.suse.machine> - it'll produce quite a bit of output, but post it here for us to review so we can see if there is an OID/MIB with the applicable data.
Former Nagios Employee
Locked