How do i log the DEBUGMSGTL statements to a file ??

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 
Hi,
 
I am using net-snmp-5.3.0.1. Am trying to log the DEBUGMSGTL statements
to a file. The man page of snmpd says that if we start the agent with -D
option, it will print all the statements to the console and using -Lf
option i can write it to a file.
 
I am starting the agent as follows
/usr/local/sbin/snmpd -c ./snmpd.conf -Lf  /var/log/snmpd.log -D
 
But the only statement which i can see in the snmpd.log file is
NET-SNMP version 5.3.0.1.
 
Am i missing out anything?
 
Thanks and Regards,
Vikash Sharma

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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