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]>
The version of net-snmp is version 5.2.2 and one of
the  messages that is placed in the syslog file is;
NET-SNMP Version 5.2.2.

It also seems as if the snmpd process is recreating
the  syslog file each time that it starts up.



--- jiang jilin <[email protected]> wrote:

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



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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