Re: Configuring snmp to not use syslog as it's log file
Mike McQ <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I took your advice and I started the snmpd process using a different log file. THe following command was used to start the snmpd process: /opt/net-snmp/sbin/snmpd -c /opt/net-snmp/etc/snmpd.conf -Lf /var/log/snmpd.log The new log file is created and snmpd places entries in it but still continues to log to /var/log/syslog. Am I missing something? --- Dave Shield <[email protected]> wrote: > On 29/01/07, Mike McQ <[email protected]> wrote: > > Is there a way to have snmp use a different log > file > > other than syslog? > > $ man snmpcmd > > LOGGING OPTIONS > The mechanism and destination to use for > logging of warning and error > messages can be controlled by passing > various parameters to the -L > flag. > > -Lf FILE > Log messages to the specified file. > > > 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 > > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ------------------------------------------------------------------------- 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