Revision history for Perl extension SNMP::Trapinfo 1.02
2010-09-06 Added test case for Net-SNMP, which has IP in the
form: UDP: []:4129->[] Assign copyright to Opsera 1.01
2008-02-15 Add access to 'localtime()' function 1.0 2007-03-20
If there is more than one trap, you have to use the marker
"#---next trap---#\n" between them - this does not affect data
from snmptrapd as that only sends one trap at a time. The marker
is required because some traps have embedded linefeeds in the
value. This module will only read the portion that is on the
same line as the key and ignore the rest (unless it happens to
look like a valid line). 0.92 2006-12-14 Added safe $trap->eval
using module (Rob Moss) Operators allowed inside of the eval
function are as follows: :base_core :base_mem :base_loop print
sprintf prtf padsv padav padhv padany In summary: Any logic,
string/integer comparison, regex and print functions will work
Any other operator, such as open() exec() unlink() will be
denied and the reason given in $@ 0.91 2006-0