Bugs item #3304076, was opened at 2011-05-18 12:48
Message generated for change (Comment added) made by rstory
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3304076&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Emmanuel ()
Assigned to: Nobody/Anonymous (nobody)
Summary: UCD-SNMP-MIB::memShared.0 no longer exist
Initial Comment:
Hello team,
it's seems the OID UCD-SNMP-MIB::memShared.0 (OID .1.3.6.1.4.1.2021.4.13.0) no more longer exist since the version 5.4.3 included.
On the same server (debian 6, kernel 2.6.38.2)
- with version 5.4.1 (from deb package OR compiled from source) I ve got an answer:
# snmpget -v2c -c pub -On server 1.3.6.1.4.1.2021.4.13.0
.1.3.6.1.4.1.2021.4.13.0 = INTEGER: 0 kB
- with version 5.4.3 (from deb package OR compiled from source) and 5.6.1 (compiled from source)
# snmpget -v2c -c pub -On server 1.3.6.1.4.1.2021.4.13.0
.1.3.6.1.4.1.2021.4.13.0 = No Such Object available on this agent at this OID
>From what I understood snmpd get this value from "Shmem" in /proc/meminfo. The string is available in the file:
fkteqx-c37-15:net-snmp-5.6.1# cat /proc/meminfo
MemTotal: 24733492 kB
MemFree: 23446212 kB
Buffers: 87064 kB
Cached: 1028028 kB
SwapCached: 0 kB
Active: 496044 kB
Inactive: 635448 kB
Active(anon): 16416 kB
Inactive(anon): 144 kB
Active(file): 479628 kB
Inactive(file): 635304 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 24150012 kB
SwapFree: 24150012 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 15832 kB
Mapped: 5032 kB
Shmem: 152 kB
[... SNIP ...]
Maybe I have miss a patch or feature but I'm very surprised by this disappearing
Regards
Emmanuel Vargas
----------------------------------------------------------------------
>Comment By: Robert Story (rstory)
Date: 2011-06-29 13:03
Message:
The value for MemShared in /proc/meminfo was used and was valid for 2.4
kernels. In 2.6 kernels, it was always 0 (see
http://www.tux.org/lkml/#s14-3). Now it appears that it has been dropped
completely, which is why memShared.0 is now missing.
I've googled a bit on Shmem to see if it's the same thing, but I haven't
found anything authoritative.
----------------------------------------------------------------------
Comment By: Emmanuel ()
Date: 2011-06-08 11:17
Message:
Hi,
still don't know if it is a bug or a wrong use on my side?
rgds,
Emmanuel
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3304076&group_id=12694
|