Hi!
        Once again thanks Dave for your constant support.

        When I execute snmpwalk -Dparse-mibs it is showing a default
path for mibs i.e., /usr/share/snmp/mibs/ and it is also showing the
modules which it could not find, After seeing the output two questions
which are running in my mind.
        1. How snmpwalk -Dparse-mibs looking for mibs which are not
present in
/usr/share/snmp/mibs, whether those mibs are default mibs which it is
looking for, how can I avoid.

      2. If I change MIB path to some other directory, whether snmpwalk
or SNMP get or SNMP set will parse for mibs in that crated directory or
it looks for default path,
                 If snmpwalk or SNMP get or SNMP set looks for mibs in
the created directory, then hopefully I won't get error messages like

Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Etc.,

        One more thing I won't know that how specify my own mib
directory in  ./configure so that 'make install' will change a created
directory as a default mib directory path.

                Pleas kindly do the needful.


     With Regards,
G. Siva Prakash Reddy.             

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, February 07, 2008 3:11 PM
To: Siva Prakash Reddy G
Cc: [email protected]
Subject: Re: error messages

On 07/02/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
>                 Can I create a directory, where I can store all the
mib
> files so that snmpwalk or SNMP get or SNMP set will look for mib files
> in that created directory location.

Of course you can.
"make install" should have done this for you automatically.

The most likely location (assuming a default build) would be somewhere
like  /usr/local/share/snmp/mibs

If that doesn't work, then try running "snmpwalk -Dparse-mibs ..."
The beginning of that debug output will display a list of the locations
where the tool is looking for MIB files.

Dave

This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED 
INFORMATION intended for the sole use of the addressee(s). If you have received 
it in error, please contact the sender by return email, notify your system 
manager and destroy the original message and any copies thereof. Any review, 
use, disclosure or distribution is unlawful. Please check this email and any 
attachments for the presence of viruses. The Company accepts no  liability for 
any damage caused by any virus transmitted by this email. The views or opinions 
presented in this e-mail are solely those of the author and do not necessarily 
represent those of the company.
The Company reserves the right to monitor, review and store the content of all 
messages sent to or from this e-mail address.

www.aztecsoft.com

-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to