Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Enabling Debug logs is net-snmp

2,798 views
Skip to first unread message

najmudhee...@emc.com

unread,
Jun 30, 2011, 3:01:51 AM6/30/11
to
Hi,
I need to enable net-snmp Debug logs.

Can somebody explain me how to confiqure it to get debug logs. Where do I see the logs?

Thanks,
Naj..

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Net-snmp-coders mailing list
Net-snm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Dave Shield

unread,
Jun 30, 2011, 8:33:51 AM6/30/11
to
On 30 June 2011 13:21, <najmudhee...@emc.com> wrote:
> But Mine is a windows environment , compiled and running on windows.
> I think you have mentioned about Unix
>
> May I know How is it in Windows..

No idea. Try looking in the normal Windows logs.

But my last comment still stands:


>   If you run the agent using the options ' -f -Le'  then you'll see the output
> on the command line.   That tends to be how I work when I'm debugging
> a problem.

Dave

Wes Hardaker

unread,
Jun 30, 2011, 9:37:14 AM6/30/11
to
>>>>> On Thu, 30 Jun 2011 08:21:21 -0400, <najmudhee...@emc.com> said:

> May I know How is it in Windows..

Windows will work the same way; you should still, for example, be able
to specify a log file in the snmpd.conf file and have it write there.

But, the binary will have to have been built with the standard debugging
on. Note that it's possible in configure to turn it off.

You might read this too:

http://www.net-snmp.org/wiki/index.php/Debugging_output
--
Wes Hardaker
Please mail all replies to net-snm...@lists.sourceforge.net

0 new messages