On 7 March 2011 08:30, ESWAR RAO 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);
> .
> DEB
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_
> 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 s
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 d
>
> See 'snmp_config(5)' for details
>
> Dave
>
Thank you for the reply!
-Abraham V.
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware t
On 18 January 2011 03:06, Abraham Varricatt
wrote:
> Am I correct to assume that by
> including "debugTokens" in the snmpd.conf file, we can achieve the same
> effect?
Very nearly.
Remember that the -D option is common to *all* Net-SNMP commands - not
just the
On Mon, Jan 17, 2011 at 9:23 PM, JORDI LOPEZ
wrote:
> You'd have noticed that DEBUGMSGTL takes as input two strings and
> variable list of arguments in a printf like fashion. The first of these two
> strings is the the debug token.
>
> Even thought you set dodebugging to 1, you'll only see output
tokens and
snmp_set_do_debugging functions.
Jordi López
-Mensaje original-
De: ESWAR RAO [mailto:eswar7...@gmail.com]
Enviado el: lunes, 17 de enero de 2011 14:37
Para: Net-snmp-users
Asunto: Reg. DEBUGMSGTL messages of the sub-agent
Hi,
My code is running as a subagent(openhpi-subagent)
Hi,
My code is running as a subagent(openhpi-subagent).
I have started the net-snmp master agent with debugging enabled.
(/usr/sbin/snmpd -Lsd -Lf /var/log/snmp1.log -p /var/run/snmpd.pid -a -D )
When I am running the subagent with -d option (or in /var/log/messages), I
can see only the messages