Hi,

     I am new to netSnmp. I am trying to debug my code using
DEBUGMSGTLmacro. My code is running as a subagent. I have started the
master agent
with debugging enabled in the snmpd.conf  file along with the token in my
DEBUGMSGTL call. I am logging towards the default log file in
/var/log/snmpd.log file. I am getting the debug messages logged only by the
master agent. My subagent messages are not getting logged. Later I started
the master agent with the command

/usr/local/sbin/snmpd -Lf /var/log/snmpd.log "-DALL"

Again I get the debug messages only from the master agent and not from my
subagent. Do I need to do anything else to get my debug messages from
subagent logged.

Also how can i enable my log messages passed thru snmp_log() function to be
logged onto a file/console.

--
R.Karthikeyan

"Vision without action is a Daydream. Action without vision is a Nightmare"
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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