Page 1 of 2
memory check plugin for SNMP
Posted: Sat Feb 04, 2017 8:35 am
by dinush
is there a memory check plugin through SNMP ,which excludes cache memory which also having performance graphs?
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 10:45 am
by rkennedy
What OS are you using?
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 11:03 am
by dinush
centos 6.6 64 bit . installed thorugh OVA image file given by Nagios
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 12:22 pm
by rkennedy
Ack - my bad, I meant what OS are you looking to monitor through SNMP? Guessing either *nix or Windows.
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 1:04 pm
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 ā
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 1:12 pm
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.
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 1:26 pm
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
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 4:41 pm
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.
Re: memory check plugin for SNMP
Posted: Mon Feb 06, 2017 10:56 pm
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>]
Re: memory check plugin for SNMP
Posted: Tue Feb 07, 2017 10:41 am
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.