Hi,

I am running snmp agent in a target device on linux 2.6. I need to debug
IF-MIB C codes and print out my debug information. Because it is a daemon
process, printf will not send to console.

So, I used  :    syslog( LOG_DEBUG, " ifTable:  testing") ;
and check  :   cat /var/log/messages
but I have not got that information.  No snmpd.log is found under /var/log.

BTW, my host machine uses a serial port to connect to the target device and
get a console.

Could anyone help me and tell me how I am able to debug the agent mib codes?

Thanks a lot,

ire
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to