Hi. I am using a monitoring product, Orion, from Solar Winds. We have been
experiencing reporting issues for a few months now. Per Solar Winds, I moved
away from the default SUN Solaris snmp and installed net-snmp. I tried to
compile 5.5, 5.4.3 and 5.3.3 on several servers and failed every time. I
finally found binaries for 5.2.2. After installing, I found the same memory
issues as before. Solar Winds then said version 5.2.x was bad and I needed to
get 5.5. Well, since that isn't an option, I kept searching till I found a
binary for 5.4.2.1. With that installed, I still have the same issues. Per
Solar Winds, the reported physical memory usage is read as a volume and is
reading correctly. The memory usage radial, that our management wants to use,
reads all the OIDs for memory, adds them up and reports the utilization in that
way. That report shows every system only using 1% to 2% of memory. The Solar
Winds tech said the memory OIDs weren't getting populated with any values and
suggested I get some assistance from the net-snmp vendor. Below, I have added
the system info and also the cut/paste from the Solar Winds tech summarizing
the issue. Any help will be greatly appreciated.
Thanks.
John
Servers are all SUN Solaris. Most are Solaris 9. We have 1 Solaris 8 and 1
Soalris 10. All have net-snmp version 5.4.2.1 installed.
John,
Will pull memory two ways, 1 via Volume Real memory
and other is we get total Memory and add up all Memory used by all running
processes and calculate based on that.
We have shown that your SNMP Agent is not correctly populating the OIDs.
As Shown in MIB Walks. Total Memory was 16GB (16,777,216 kb approx) and Total
Used was only 155120 kb < 1%
Here is good overview on Memory Values coming into Orion.
(1)
We have seen issues where Net-SNMP reports back incorrect values.
It may be a situation where net-snmp needs to be reinstalled or a Universal
Device Poller needs to be created for a specific OID for memory.
I think NET-SNMP Agent at present is 5.5 http://www.net-snmp.org/
(2)
The "Memory" Usage and the "Physical Memory" Utilization are calculated
differently by Orion NPM.
Memory:
The Memory is the sum of the memory used by the processes listed in the
HOST-RESOURCES-MIB:hrSWRunPerfTable (1.3.6.1.2.1.25.5.1).
The OID used is the hrSWRunPerfMem (1.3.6.1.2.1.25.5.1.1.2).
Physical Memory:
The Physical Memory is calculated based on the values populated in the
HOST-RESOURCES-MIB:hrStorageTable (1.3.6.1.2.1.25.2.2.3).
The OIDs used are hrStorageSize (1.3.6.1.2.1.25.2.3.1.5), hrStorageUsed
(1.3.6.1.2.1.25.2.3.1.6) and hrStorageAllocationUnits (1.3.6.1.2.1.25.2.3.1.4) .
Depending how the SNMP agent on the host is reporting values, it can lead to
some discrepancies between the two results
(3)
Volume and memory calculations are separate.
Here is what the poller does for volumes and then for memory:
VolumeSize = OID_hrStorageSize * OID_hrStorageAllocationUnits
VolumeUsed = OID_hrStorageUsed * OID_hrStorageAllocationUnits
VolumePercentUsed = VolumeUsed / VolumeSize * 100
TotalMemory = OID_hrMemorySize * 1024
UsedMemory = OID_hrSWRunPerfMem (sum of all returned values)
MemoryUtilization = 100 * UsedMemory / TotalMemory
**** This communication may contain privileged and/or confidential information.
The information is intended only for the person or entity to which it is
addressed. If you are not the intended recipient, you are hereby notified that
disclosing, copying, or distributing of the contents is strictly prohibited. If
you have received this message in error, please contact the sender and destroy
any copies of this document. This message has been electronically scanned for
viruses using the latest available technology. ****
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users