Re: How do i log the DEBUGMSGTL statements to a file ??
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 07/03/07, [email protected] <[email protected]> wrote: > I am starting the agent as follows > /usr/local/sbin/snmpd -c ./snmpd.conf -Lf /var/log/snmpd.log -D Yup - that should work. I've tried it with both the 5.3.x and main development lines. > But the only statement which i can see in the snmpd.log file is > NET-SNMP version 5.3.0.1. What happens if you try logging to stderr: /usr/local/sbin/snmpd -c ./snmpd.conf -f -Le -D Do you see the debug output? What about /usr/local/sbin/snmpd -c ./snmpd.conf -f -Lf /var/log/snmpd.log -D (i.e. don't detach from the terminal). What do you see on stdout/stderr? What do you see in the log file? Try specifying a different logfile location. (e.g. /tmp/snmpd.log) Dave ------------------------------------------------------------------------- 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