FusionInventory::Agent::Tools::SNMP(3)

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.