Re: Reg. DEBUGMSGTL messages of the sub-agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 7 March 2011 08:30, ESWAR RAO <[email protected]> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.