The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

FusionInventory::Agent::Tools::SNMP - SNMP-related functions

DESCRIPTION

This module provides some SNMP-related functions.

FUNCTIONS

getSanitizedSerialNumber($value)

Return a sanitized serial number.

getSanitizedMacAddress($value)

Return a sanitized mac address.

getElement($oid, $index)

return the $index element of an oid.

getLastElement($oid)

return the last element of an oid.

getNextToLastElement($oid)

return the next to last element of an oid.

getElements($oid, $first, $last)

return all elements of index in range $first to $last of an oid.

getBasicInfoFromSysdescr($sysdescr)

return a hash initialized from sysdescr information.