Re: Re: How to get debug messages of netsnmp soucrce code?

"ambika cp" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1251444970.S.2887.38636.f4mail-235-202.rediffmail.com.old.1251774847.28926@webmail.rediffmail.com>
Hi Dave,



The problem I am trouble shooting is as follows:

I have OCTET STRING OID which has the value of 2048 bytes. When I do walk from top of the MIB tree using MIB Browser tool it used to give "Generic Error" at this particular OID. On begguging I got to know that SNMP_MAX_MSG_SIZE is defined to 1472 in snmp_api.h file. I just increased to 4096 bytes, with this walk is successfully working in MIB Browser tool. But snmpget on this particular OID still says "no such object" error. Any idea whats going wrong???



Regards

Ambika



On Fri, 28 Aug 2009 13:06:10 +0530  wrote

>2009/8/27 ambika cp :

> I am invoking the snmpd using the -DTOKEN{ALL} option from commandline.



That's your problem.  You have activated the debug output that uses the

token "TOKEN{ALL}",  but there are no such debug statements.



If you really must, you could start the agent using  -Dall

but that generates an incredible amount of output, and slows the agent

down to a crawl.  It's much better to activate the particular debug

sections that you are interested in.



What problem are you trying to solve?



Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.