Using debug for snmpd v5.7.1

Joe Lorenz <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have been trying to use the '-D<token>' command line option for snmpd and 
can't seem to get any output. The command I'm using is:

snmpd -Le -f -Dall

I dug further and found the source configure option '--disable-debugging' was 
set, so I changed that to '--enable-debugging' and rebuilt the agent. When I run 
with that, I get an obscenely verbose amount of trace output without even 
passing any '-D' command line options. But I see now with that build if I do 
pass a specific token with '-D', everything else is quieted.

So is it true that '--enable-debugging' causes an implicit '-Dall' on the 
command line unless otherwise specified?

And if one wants to keep '--enable-debugging' but normally have it quiet, is 
'-Dnone' the right way to do that?


Many thanks,
	-Joe


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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.