Re: Install a Trap receiver on CentOS 5.7
Usuário do Sistema <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAMTjHrz6XQq5qXpaDVSbpEdcx3HbV+uK6OGE36Qs=RY98X7HHg@mail.gmail.com> |
Thanks Dave, but it isn't work. follow what I done [root@testesq snmp]# snmptrap -Lf -c public /var/log/snmptraps I think I have change in an file.....but where !?!? Em 18 de janeiro de 2012 14:03, Dave Shield <[email protected]> escreveu: > 2012/1/18 Usuário do Sistema <[email protected]>: >> now it's working. so...by default tha traps are put to >> /var/log/messages I whish change it to /var/log/snmptraps. >> >> how to can I reach this ? > > > $ 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 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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