Reg. DEBUGMSGTL messages of the sub-agent

ESWAR RAO <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

My code is running as a subagent(openhpi-subagent).
When I am running the subagent , I can see only the messages of
snmp_log(...).

Please let me know if there is any means so that I can observe the
DEBUGMSGTL messages of the subagent code.

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));

So I don't think debugTokens TOKEN[,TOKEN...] needs to be mentioned in
subagent conf file.

Should I add any extra options while building the subagent so as to observe
the DEBUGMSGTL msgs.

Thanks & Regards,
Eswar

------------------------------------------------------------------------------
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.