Good day,

I'm fairly certain there's a problem with the ssIORawSent and
ssIORawReceived counter objects on my net-snmp 5.2.1.rc2 agent, so, I think
that this is the right forum to bring this up in.  The agent is running on a
Linux 2.6.8 host (Fedora Core 2).

It looks like the objects are switched around (and off by a factor of 2 or 3
or so).

Polling the device over 5 minutes:

Thu Jan 13 14:05:58 MST 2005
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1435885920
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 709648166
Thu Jan 13 14:10:59 MST 2005
UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1435887752
UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 709801446

... shows ~511 blocks/s "Received from a block device" and ~6 blocks/s "Sent
to a block device" (according to the MIB descriptions).

Over the same period of time, vmstat shows:

-bash-2.05b$ vmstat 300
procs -----------memory---------- ---swap-- -----io---- --system--
----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
wa
 0  0   7808 528832  58788 1702492    1    1     1     0    0     2 14  5 78
4
 0  1   7808 542404  59968 1672452    0    0     3   244 1103     0  7  2 90
1

So vmstat shows 3 blocks/s "Received from a block device" and 224 blocks
"Sent to a block device" (according to the vmstat man page).

I am not sure of any other way to verify the quantity of blocks sent or
received, but I can tell you that the device was going heavy DB writing and
nearly no reading (i.e. vmstat seems to be right).  The man pages suggest
disk I/O data is in /proc/stat, but I don't actually see it in there.  I
have repeated the tests under different loads, but the results are all
similar.

Maybe I'm missing something here?  Is there anything else that I could
provide?

If I knew where net-snmp gets these figures from (someplace under /proc ?) I
could compare the data to what the agent reports.

Thanks in advance!

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to