Hi!
        Thanks Dave for your valid reply,

>> I don't want to print these error message, how can I do it.

>   Snmpwalk -m "" .....

                But above solution is not feasible to me, can I get any
other alternate solution apart from changing the snmpwalk command.

                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. So that I can avoid cannot find
module errors.

        Please help me out.

    With Regards,
G. Siva Prakash Reddy.



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

On 06/02/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
>             Whenever I run SNMP walk or SNMP get or SNMP set through
command line, the error messages are printed on the terminal as shown
blue colour below.

> [EMAIL PROTECTED] ~]# Snmpwalk -v2c -c public 192.168.157.198
1.3.6.1.4.1.13995.2.1.11
> Cannot find module (IP-MIB): At line 0 in (none)
> Cannot find module (TCP-MIB): At line 0 in (none)
    <etc>


>             I know snmpd is looking for MIB files in
/usr/share/snmp/mibs;

No.   *snmpwalk* is looking for MIB files in this location.


>    I removed to reduce my net-snmp size.

Which explains why it can't find them.



> I don't want to print these error message, how can I do it.

   snmpwalk -m "" .....

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