Re: SNMP Forwarder Utility

Tony Lee <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
You can easily do this with a shell script using the snmptrapd and snmptrap.

Just parse the snmptrapd return data, switch on trap number and send them 
out
with snmptrap accordingly.

-- 
-Tony
Having fun with FPGA HW + ppc + Linux

On 9/2/05, Poojan Tanna <[email protected]> wrote:
> 
> Hi,
> 
> I am looking for a utility that can sit between the SNMP Trap Generator
> and SNMP Trap Server as follows:
> This utility should forward the Traps as per the Trap Type.
> 
> 
> +------------+
> | SNMP Trap |
> +-------------+ +--------------+ +------| Server-1 |
> | | | | | +------------+
> | SNMP Trap | | SNMP Trap |==========+
> | Generator |--------------->| Forwarder | |
> | | | | +------+-------------+
> +-------------+ +--------------+ | | SNMP Trap |
> | | Server-2 |
> | +-------------+
> |
> |
> +------+-------------+
> | SNMP Trap |
> | Server-N |
> +-------------+
> 
> Here SNMP Trap Forwarder can be configured as follows:
> 
> Trap Type/Number SNMP Trap Server IP-Address and Port:
> ---------------- -------------------------------------
> 1-20 Forward to 10.10.10.1 <http://10.10.10.1> ( SNMP Trap Server-1 )
> 45,34,65 Forward to 10.10.10.2 <http://10.10.10.2> ( SNMP Trap Server-2 )
> :;;;; ;;;;
> 
> I tried looking at snmptrapd to use as the forwarder utility but could
> not configure the snmptrapd.conf
> file to forward the trap based on the Trap Number.
> 
> Let me know if there is any existing utility that can solve my purpose
> or I need to write one ;-)
> 
> Thanks,
> Poojan.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
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.