Re: Reg. DEBUGMSGTL messages of the sub-agent

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

Thanks for the response.

But the openhpi-subagent code doesn't accept the -DALL flag.
It's restricted to accept only certain flags.
As I mentioned, in the 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));

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


On Mon, Mar 7, 2011 at 2:38 PM, Alec Edgington <[email protected]> wrote:

> > 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.
>
> I think you get to see these messages if you start the subagent with
> the -DALL flag.
>
> Alec
>
>
> ------------------------------------------------------------------------------
> 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
>

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