snmp troubles

Arnar Thorarinsson art at caa.is
Fri Dec 3 12:32:22 CET 2004


Hi all

I have a problem with getting the memory information from a host through
snmp.  I'm using the check_snmp_mem.pl plugin.
The result is always "Ram : 0%, Swap : 0% : : OK"

with snmpwalk : 
$ snmpwalk -v1 -c xxxxxx rex 1.3.6.1.4.1.2021.4
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: -1
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -1
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: -1
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: -1
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: -2
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: -1
UCD-SNMP-MIB::memBuffer.0 = INTEGER: -1
UCD-SNMP-MIB::memCached.0 = INTEGER: -1
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (-1)

Why oh why are all the values -1 or -2 !?!?!
tried restarting snmpd but same results.
I'm new to this snmp stuff so plz ... HELP


host is running rh9 with kernel 2.4.18-14 and net-snmp-5.0.1-6
snmpd.conf file:
  rocommunity  pubnag
  syslocation Kerfisdeild ServerRoom
  syscontact  art at caa.is
  disk  / 3%
  disk  /xrec_backup 3%
  load  5.0 6.0 7.0 # 1,5,15 load average max
  smuxpeer .1.3.6.1.4.1.674.10892.1

-- 
Regards
Arnar Thorarinsson

Software Programmer / System Administrator
Systems Department, Air Traffic Services
Phone : +354 569 4289
------------------------------------------
Icelandic Civil Aviation Administration
Reykjavik Airport
IS 121 Reykjavik
Iceland
http://www.caa.is
------------------------------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list