Hi everyone
Happy new year 2013!
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.
snmp_set_do_debugging(1);
snmp_enable_stderrlog();
init_agent("SNMP_agent");
init_snmp("SNMP_agent");
snmp_dbg_print();
init_master_agent();
This agent works but I can not find the deamon process using "ps -ef|grep
snmpd"?Is the process SNMP_agt I created a deamon process?
I got another question: where can I set the debug log? I tried
snmp_set_do_debugging(1); but I didn't find any message logged in
/var/log/messages . where is the log located?
Thanks,
Barclay
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders