On 7 March 2011 08:30, ESWAR RAO <eswar7...@gmail.com> wrote:
> In my subagent code registration of debug token is done programatically as
> mentioned below (openhpi-subagent).
> .....................
> debug_register_tokens (AGENT);
> snmp_enable_stderrlog ();
> snmp_set_do_debugging (1);
> .....................
> DEBUGMSGTL ((AGENT, "saHpiSessionOpen returns with SessionId
> %d\n",sessionid));

Yes - that should have worked.

My best guess is to check whether the SNMP library was originally compiled
with
     --disable-debugging

Dave

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to