Mon::SNMPMon::SNMP is a Perl module created to decode SNMP trap. | |
Download |
Mon::SNMP Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Graham Barr
- Publisher web site:
- http://search.cpan.org/~gbarr/
Mon::SNMP Tags
Mon::SNMP Description
Mon::SNMP is a Perl module created to decode SNMP trap. Mon::SNMP is a Perl module created to decode SNMP trap.SYNOPSIS use Mon::SNMP; $trap = new Mon::SNMP; $trap->buffer($snmptrap); %traphash = $trap->decode; $error = $trap->error;Mon::SNMP provides methods to decode SNMP trap PDUs. It is based on Graham Barr's Convert::BER module, and its purpose is to provide SNMP trap handling to "mon".METHODSnewcreates a new Mon::SNMP object.buffer ( buffer )Assigns a raw SNMP trap message to the object.decodeDecodes a SNMP trap message, and returns a hash of the variable assignments for the SNMP header and trap protocol data unit of the associated message. The hash consists of the following members: version => SNMP version (1) community => community string ent_OID => enterprise OID of originating agent agentaddr => IP address of originating agent generic_trap => /COLDSTART|WARMSTART|LINKDOWN|LINKUP|AUTHFAIL|EGPNEIGHBORLOSS|ENTERPRISESPECIFIC/ specific_trap => specific trap type (integer) timeticks => timeticks (integer) varbindlist => { oid1 => value, oid2 => value, ... } Requirements: · Perl
Mon::SNMP Related Software