Re: Perl API for sending traps

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Mon, 24 May 2010 16:17:03 +0100, Joao Ferreira gmail <[email protected]> said:

JF> I'dd like to know if there is an API accessible from the Perl modules to
JF> send a trap to the currently configured trap destinations in snmpd.conf

JF> I now this exists in C but I can figure out how to do it from the Perl
JF> API.

If you read "perldoc SNMP" on the "SNMP::TrapSession" section it shows
how to send traps using perl...
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------

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