Hello,


I have upgraded to netsnmp-5.4.2.1 and snmpd is up and running.Now I am trying 
to enable the debugging messages of netsnmp open source.I am invoking the snmpd 
using the -DTOKEN{ALL} option from commandline. With this I am seeing the 
following message soon after commandline invokation but i dont see debug 
messages in the snmpd.log file(please note: snmpd is up and running with the 
-DTOKEN{ALL} option also the 161 port is up):



No log handling enabled - turning on stderr logging

trace: main(): snmpd.c, 449:

signal: registering SIGTERM signal handler

trace: main(): snmpd.c, 453:

signal: registering SIGINT signal handler

trace: main(): snmpd.c, 460:

signal: registering SIGUSR1 signal handler

trace: main(): snmpd.c, 464:

signal: registering SIGPIPE signal handler

trace: netsnmp_ds_set_boolean(): default_store.c, 205:

netsnmp_ds_set_boolean: Setting APP:3 = 0/False

trace: netsnmp_ds_set_int(): default_store.c, 257:

netsnmp_ds_set_int: Setting APP:4 = -1

trace: netsnmp_ds_set_int(): default_store.c, 257:

netsnmp_ds_set_int: Setting APP:5 = -1

trace: netsnmp_ds_set_int(): default_store.c, 257:

netsnmp_ds_set_int: Setting APP:10 = 5

trace: netsnmp_ds_set_string(): default_store.c, 283:

netsnmp_ds_set_string: Setting LIB:6 = "snmpd"

registered debug token TOKEN{ALL}, 1



*****************************************************************

In the configuration file I have the option for debugging messages as

--enable-debugging. 

******************************************************************



I want to collect the debugging messages in /tmp/snmpd.log (added in the 
configuration file). Please help me in collecting the debugging messages of 
netsnmp-5.4.2.1 source code to snmpd.log file.



Thanks in advance 

Regards

Ambika







  

------------------------------------------------------------------------------
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

Reply via email to