Re: logging traps - traphandle calling Perl scripts

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Irving Barría wrote:
> My name is Irving Barría, a panamanian student of electronics 
> engineering, in charge of a project regarding net-snmp. I have installed 
> net-SNMP 5.1.4 on a RHEL AS 3 system with kernel version 2.4.24 and I 
> can generate traps and also receive them in the same machine through the 
> loopback interface. As you can see, I’m just testing but there is a plan 
> to use net-snmp in a production system. 

If you're starting from scratch, please start with our latest release 
(5.3.0.1 plus the official patches from 
http://www.net-snmp.org/official_patches) instead of 5.1.4, especially 
if you have a later production use in mind.

> First of all, I would like to 
> know how to log the traps that my machine receives.

I suggest starting with our notification tutorial at:

   http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html

It hasn't been updated yet to cover the authorization changes introduced 
in net-snmp 5.3, so please make sure to read

   http://www.net-snmp.org/docs/man/snmptrapd.conf.html

(especially the ACCESS CONTROL section) also.

> Now that I’m testing on Linux I’ve found some problems. What I would 
> like to know is how to install Perl correctly. Here is what I typed 
> during the installation:
> 
> # ./configure --with-perl-modules --enable-embedded-perl --enable-shared
> # make
> # make install

Alright so far.

> # cd perl
> # perl Makefile.PL
> # make 
> # make install

Omit this part.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.