[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-617592 ] Erroneous read of memory table
From: noreply () sourceforge ! net
Date: 2002-10-15 10:40:24
[Download RAW message or body]
Bugs item #617592, was opened at 2002-10-02 16:54
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=617592&group_id=12694
Category: agent
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Erroneous read of memory table
Initial Comment:
On some PC on which I have installed the Ucd-
Snmp (version 4.2.5) I have the following problem.
The command:
"snmpwalk localhost
my_community .1.3.6.1.4.1.2021.4 "
gives me this response:
enterprises.ucdavis.memory.memIndex.0 = 0
enterprises.ucdavis.memory.memErrorName.0 =
swap
enterprises.ucdavis.memory.memTotalSwap.0 = -1
enterprises.ucdavis.memory.memAvailSwap.0 = -1
enterprises.ucdavis.memory.memTotalReal.0 = -1
enterprises.ucdavis.memory.memAvailReal.0 = -1
enterprises.ucdavis.memory.memTotalFree.0 = -2
enterprises.ucdavis.memory.memMinimumSwap.0
= 16000
enterprises.ucdavis.memory.memShared.0 = -1
enterprises.ucdavis.memory.memBuffer.0 = -1
enterprises.ucdavis.memory.memCached.0 = -1
enterprises.ucdavis.memory.memSwapError.0 = 1
enterprises.ucdavis.memory.memSwapErrorMsg.0 =
Running out of swap space (-1)
Instead, if I execute the command:
"cat /proc/meminfo"
the response is:
total: used: free: shared: buffers: cached:
Mem: 2111762432 931586048 1180176384 0
50974720 130379776
Swap: 2097143808 1101824 2096041984
MemTotal: 2062268 kB
MemFree: 1152516 kB
MemShared: 0 kB
Buffers: 49780 kB
Cached: 126296 kB
SwapCached: 1028 kB
Active: 166272 kB
Inactive: 29788 kB
HighTotal: 1179584 kB
HighFree: 1027116 kB
LowTotal: 882684 kB
LowFree: 125400 kB
SwapTotal: 2047992 kB
SwapFree: 2046916 kB
(the "file" /proc/meminfo is also used into the
source file \agent\mibgroup\ucd-snmp\memory.c )
Obviously these values are correct!
I don't know how, but on some PC that has the
same configuration (PC type, Memory, processes,
etc...)
I have the result show above.
On other PC that has the same UCD-SNMP, all
works fine. Why?
Besides, the same source file try to use the
command "/usr/sbin/swapinfo -r" that is not
present on any of the PC I use. Why?
Thanks in advance for any support.
Bye
Salvatore Merola
----------------------------------------------------------------------
Comment By: Salvatore Merola (salvatoremerola)
Date: 2002-10-15 12:40
Message:
Logged In: YES
user_id=621974
Hi.
I've downloaded and install'd the 4.2.6 version, and it
solve the memory problem existing on 4.2.5 version.
I've tried on the same PC where 4.2.5 was not
functioning properly, and it seems to me that now it's
all ok.
Perhaps is dued to this "fix" I've found into the
ChangeLog file of 4.2.6 version:
2002-05-21 13:20 dts12
* agent/mibgroup/ucd-snmp/memory.c:
Latch memory reporting at 2^31-1, rather than 2^32-
1 since these objects are defined as (signed) Integer32.
Only latch if the value is *greater* than this threshold,
not less!
So maybe is possible to "close" this item, but I hope in
some follow up about this problem.
Thanks
Salvatore Merola
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=617592&group_id=12694
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic