Re: ucdDiskIOMIB

This is a discussion on Re: ucdDiskIOMIB within the SNMP Users forums, part of the Networking and Network Related category; On 21/01/2008, Mariusz Iwa=F1ski <dwa.iwany@gmail.com> wrote: > snmpwalk -v 1 -c community ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2008
Dave Shield
 
Posts: n/a
Default Re: ucdDiskIOMIB

On 21/01/2008, Mariusz Iwa=F1ski <dwa.iwany@gmail.com> wrote:
> snmpwalk -v 1 -c community localhost nsModuleName | grep diskio
>
> nsModuleName."".12.1.3.6.1.4.1.2021.13.15.1.1.1.12 7 =3D STRING: diskio

<etc>

So the diskIO module is certainly registered....

> --snmpgetnext -v 1 -c community localhost ucdExperimental
> UCD-DLMOD-MIB::dlmodNextIndex.0 =3D INTEGER: 1


and the ucdExperimental subtree is visible...

> --snmpgetnext -v 1 -c community localhost UCD-DISKIO-MIB::diskIOTable
> UCD-SNMP-MIB::logMatchMaxEntries.0 =3D INTEGER: 50


but there's nothing in the diskIO MIB section.

Unfortunately, there isn't any debugging in the diskIO MIB code,
so you're probably going to have to fiddle with the code and re-compile.


One final thing to check first - what does
cat /proc/diskstats
report?
Or failing that
cat /proc/partitions
?


If either of those look sensible, then try looking for the routine 'getstat=
s'
(around like 700 of the file ucd-snmp/diskio.c), and comment out the
first three or four lines - referring to 'now' and 'cache_time'.
The recompile, reinstall, and rerun. Does that make any difference?

It might also be worth adding a debug statement so that you can tell
whether the 'getstats routine is being called at all.

Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0