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