Re: ucdDiskIOMIB
"Mariusz Iwański" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
18-01-08, Dave Shield <[email protected]> napisał(a): > On 18/01/2008, Mariusz Iwański <[email protected]> wrote: > > I'm trying to use ucdDiskIOMIB, MIB description is here: > > http://net-snmp.sourceforge.net/docs/mibs/ucdDiskIOMIB.html > > > > - net-snmp version is (snmpd -v): > > NET-SNMP version: 5.4.1 > > Did you compile this agent yourself from source, > or is it a pre-built binary? I have compiled this package with option: ./configure --prefix=/usr/local/net-snmp-5.4.1/ > > If you compiled it yourself, what options did you use? > If pre-built, where did you get it from? > > > > - snmpget -v 1 -c raport localhost .1.3.6.1.4.1.2021.13.x.x.x > > (on any OID from this MIB returns): > > > > Error in packet > > Reason: (noSuchName) There is no such variable name in this MIB. > > Failed object: UCD-SNMP-MIB::ucdExperimental.15 > > What is the exact OID request that you are using? > What does > > snmpgetnext -v 1 -c raport localhost UCD-DISKIO-MIB::diskIOTable > > report? > > What O/S are you running on? I'm intrested in OID : .1.3.6.1.4.1.2021.13.15.1.1.9 ("The 1 minute average load of disk (%)"). O/S is Slackware 10.2 > > > > I can translate OIDs from ths mib only when I use "-m ALL" option with > > snmptranslate. UCD-DISKIO-MIB.txt file is in > > /usr/local/share/snmp/mibs/ directory. > > That would tend to imply that DiskIO MIB support was probably not included > when the Net-SNMP suite was built. While you can tell the client-side > tools to load this MIB dynamically, it's not that simple for the agent. > Reporting MIB values needs code, which needs to be compiled into > the agent binary. If the agent doesn't include support for this MIB, then > you'll probably have to recompile the agent to add it. > > > > Dave > This MIB is in "ucdExperimental" is this mean that it can return wrong data? How can I be sure that it returns correct values for my system (Slackware 10.2)??? Thank you Dave for response and patience. Mariusz ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users