On 2 January 2013 08:45, Zheng, Wenjie (Barclay)
<barclay.zh...@alcatel-lucent.com> wrote:
> I am trying to implement an SNMP agent using net-snmp APIs,
> I used below method to setup a SNMP agent process,called SNMP_agt.
      :
> This agent works but I can not find the deamon process using "ps -ef|grep 
> snmpd"?

What about   "ps -ef | grep SNMP_agt"  ?

If the process is called "SNMP_agt", then that's probably what you should
be looking for - not 'snmpd'


> I got another question: where can I set the debug log?

See the routine 'snmp_log_options' in the file 'snmplib/snmp_logging.c'
This is where the standard agent logging configuration is handled.
You can either try calling this directly as part of your command-line
processing or similar,   or reproduce the particular aspects of this code
that you want to use.

Dave

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to