Re: Install a Trap receiver on CentOS 5.7

Usuário do Sistema <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAMTjHryuTA7JJ3rKu_O63-3=tdWTnzu9pDaMEYXQo+5pYMPQkQ@mail.gmail.com>
Thank you Troels,


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 ?


if anyone has goods documentations, how to, websites etc  about traps
please post here....


thanks.







Em 18 de janeiro de 2012 06:47, Troels Arvin <[email protected]> escreveu:
> Usuário do Sistema wrote:
>> anyone has a how to about configuration a trap receiver on CentOS ??
>
> Add a file /etc/snmp/snmptrapd.conf containing the following line:
>
> authCommunity log public
>
> (If you want the community to be "public"; you probably do.)
>
> Then restart the trap daemon:
>
> /sbin/service snmptrapd restart
>
> If you have an iptables local firewall/packet filter running, you may
> also need to drill a hole there, perhaps something like:
>
> iptables -I INPUT 1 -p udp --dport snmptrap -j ACCEPT
>
> /sbin/service iptables save
>
>
> --
> Regards,
> Troels Arvin <[email protected]>
> http://troels.arvin.dk/
>
>
> ------------------------------------------------------------------------------
> 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

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