18-01-08, Dave Shield <[EMAIL PROTECTED]> napisał(a):
> On 18/01/2008, Mariusz Iwański <[EMAIL PROTECTED]> wrote:
> > I have compiled this package with option:
> > ./configure --prefix=/usr/local/net-snmp-5.4.1/
>
> $ ./configure --help
> :
> Default mib modules compiled into the agent:
> [snip]
> Optional mib modules that can be built into the agent include:
> ucd-snmp/diskio Table of io-devices and how much data they have
> read/written. (only tested on Solaris, Linux)
>
>
> So the diskIO module is only included if you explicitly request it.
> Try
>
> ./configure
> --prefix=/usr/local/net-snmp-5.4.1--with-mib-modules=ucd-snmp/diskio
>
> Dave
>
-- I have try to configure with that module:
./configure --with-mib-modules=ucd-snmp/diskio
net-snmp version :5.4.1
OS : Slackware 10.2
-- Configuration was sukcesfull:
---------------------------------------------------------
Net-SNMP configuration summary:
---------------------------------------------------------
SNMP Versions Supported: 1 2c 3
Net-SNMP Version: 5.4.1
Building for: linux
Network transport support: Callback Unix TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: ucd-snmp/diskio default_modules =>
util_funcs snmpv3mibs mibII ucd_snmp notification notification-log-mib
target agent_mibs agentx disman/event disman/schedule utilities host
Embedded Perl support: disabled
SNMP Perl modules: building -- not embeddable
SNMP Python modules: disabled
Authentication support: MD5
Encryption support:
---------------------------------------------------------
-- make, and make install did nor return any errors
But still I cant use any OID from UCD-DISKIO-MIB
-- this ar resoults from some requests:
snmpget -v 1 -c community localhost .1.3.6.1.4.1.2021.13.15.1.1.9
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-DISKIO-MIB::ucdDiskIOMIB
snmpget -m all -v 1 -c community localhost .1.3.6.1.4.1.2021.13.15.1.1.9
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-DISKIO-MIB::diskIOLA1
snmptranslate .1.3.6.1.4.1.2021.13.15.1.1.9
UCD-DISKIO-MIB::diskIOLA1
snmpwalk -v 1 -c raport localhost | grep *UCD-DISKIO-MIB*
--- NO RESULT !!! ---------
It seams that UCD-DISKIO-MIB is available for translation and tools
can use it, but deamon (snmpd) dont use this package.
How can I deal with this, and make UCD-DISKIO-MIB::diskIOLA1 to return
some data ???
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