memory check plugin for SNMP
memory check plugin for SNMP
is there a memory check plugin through SNMP ,which excludes cache memory which also having performance graphs?
Re: memory check plugin for SNMP
centos 6.6 64 bit . installed thorugh OVA image file given by Nagios
Re: memory check plugin for SNMP
Ack - my bad, I meant what OS are you looking to monitor through SNMP? Guessing either *nix or Windows.
Former Nagios Employee
Re: memory check plugin for SNMP
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 –
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
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.
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
Re: memory check plugin for SNMP
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
check_snmp_storage_wizard.pl -H <IP> -C public --v2c -w 80 -c 90 -f -m Physical
Re: memory check plugin for SNMP
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
Re: memory check plugin for SNMP
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>]
# /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
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