-----Original Message-----
From: Kurapati M-G19456 
Sent: Wednesday, December 27, 2006 11:50 AM
To: Kurapati M-G19456; Dave Shield
Cc: [email protected]
Subject: RE: "-I -interfaces" startup parameters for SNMPD.

I have started snmpd as follows. 
./snmpd -x 705 -I -interfaces

When I isuued a getnext for interfaces node, I am seeing the following
messages in /var/log/snmpd.log. 
trace: netsnmp_call_handler(): agent_handler.c, 418:
handler:calling: calling handler bulk_to_next for mode GETNEXT
trace: netsnmp_call_handler(): agent_handler.c, 426:
handler:returned: handler bulk_to_next returned 0
trace: netsnmp_call_handler(): agent_handler.c, 418:
handler:calling: calling handler old_api for mode GETNEXT
trace: Interface_Scan_Init(): mibII/interfaces.c, 1487:
mibII/interfaces: using linux 2.2 kernel /proc/net/dev
trace: Interface_Scan_Init(): mibII/interfaces.c, 1719:
mibII/interfaces: * see: known interfaces: lo eth sit
trace: Interface_Scan_Init(): mibII/interfaces.c, 1487:
mibII/interfaces: using linux 2.2 kernel /proc/net/dev
trace: Interface_Scan_Init(): mibII/interfaces.c, 1719:
mibII/interfaces: * see: known interfaces: lo eth sit
trace: Interface_Scan_Init(): mibII/interfaces.c, 1487:
mibII/interfaces: using linux 2.2 kernel /proc/net/dev
trace: Interface_Scan_Init(): mibII/interfaces.c, 1719:
mibII/interfaces: * see: known interfaces: lo eth sit
trace: netsnmp_call_handler(): agent_handler.c, 426:
handler:returned: handler old_api returned 0

This looks like, SNMPD is trying to get the data for all the interfaces
in /proc/dev/net. 

Please help me in resolving this issue. 

Regards
Mahesh 

-----Original Message-----
From: Kurapati M-G19456
Sent: Tuesday, December 26, 2006 10:02 AM
To: 'Dave Shield'
Cc: [email protected]
Subject: RE: "-I -interfaces" startup parameters for SNMPD.

I am seeing the following error in /var/log/snmpd.log. 

error scanning interface data (expected 10, got 0) error scanning
interface data (expected 10, got 0) error scanning interface data
(expected 10, got 0) error scanning interface data (expected 10, got 0)
error scanning interface data (expected 10, got 0)

For 5 of the entries in the /proc/dev/net file, there are no statistics
available in our setup.  But these messages should not have come when I
started the SNMPD with "-I -interfaces" option. 

Thanks
Mahesh

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, December 22, 2006 7:34 PM
To: Kurapati M-G19456
Cc: [email protected]
Subject: Re: "-I -interfaces" startup parameters for SNMPD.

On 22/12/06, Kurapati M-G19456 <[EMAIL PROTECTED]> wrote:
> I am using NET-SNMP-5.2.2.  When I start the snmpd with the above 
> start up parameters, I see that SNMPD still builds the interfaces 
> data.  But, it does not service any requests on interfaces MIB.

Hmmm...  it shouldn't touch the interface stuff at all.
What symptoms are you seeing, that indicate it's building the interface
data?


>                                                                  How 
> to avoid SNMPD not to build this interface database?  Is there a 
> configure option while compiling net-snmp package to exclude the
interfaces mib building.

Yes
    '--without-mib-modules=mibII/interfaces'


Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to