Re: Configuring snmp to not use syslog as it's log file

"jiang jilin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
what's the version of net-snmp you're using?and what's the infomation output
to /var/log/syslog ?

I use net-snmp 5.3.1,and it works well,also,i just start & stop the snmpd to
have a test.

Jiang

On 1/31/07, Mike McQ <[email protected]> wrote:
>
> 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
>

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