A class for performing SNMP V2 queries on generic devices
copyright | Copyright (c) 2012 - 2013, Open Source Solutions Limited, Dublin, Ireland |
---|---|
author | Barry O'Donovan |
getSNMP() : \OSS_SNMP\SNMP
\OSS_SNMP\SNMP
Instance of the SNMP objectphysicalAlias() : array
array
Associate array of physical aliasesphysicalClass(boolean $translate = false
) : array
boolean
If true, return the string representation via self::$ENTITY_PHSYICAL_CLASS
array
Associate array of entPhysicalClassphysicalDescription() : array
array
Associate array of entPhysicalDescrphysicalName() : array
array
Associate array of entPhysicalNamephysicalParentRelPos() : array
array
Associate array of entPhysicalParentRelPosrelPosToAlias() : Array
Array
of relative positions to port IDssetSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMP
the SNMP instance
\OSS_SNMP\MIB
An instance of this class for fluent interfaces$ENTITY_PHSYICAL_CLASS : array
array(self::PHYSICAL_CLASS_CHASSIS => 'chassis', self::PHYSICAL_CLASS_CONTAINER => 'container', self::PHYSICAL_CLASS_POWER_SUPPLY => 'powerSupply', self::PHYSICAL_CLASS_FAN => 'fan', self::PHYSICAL_CLASS_SENSOR => 'sensor', self::PHYSICAL_CLASS_MODULE => 'module', self::PHYSICAL_CLASS_PORT => 'port')
$_snmp
null
OID_ENTITY_PHYSICAL_ALIAS = '.1.3.6.1.2.1.47.1.1.1.1.14'
OID_ENTITY_PHYSICAL_CLASS = '.1.3.6.1.2.1.47.1.1.1.1.5'
OID_ENTITY_PHYSICAL_DESCRIPTION = '.1.3.6.1.2.1.47.1.1.1.1.2'
OID_ENTITY_PHYSICAL_NAME = '.1.3.6.1.2.1.47.1.1.1.1.7'
OID_ENTITY_PHYSICAL_PARENT_REL_POS = '.1.3.6.1.2.1.47.1.1.1.1.6'
PHYSICAL_CLASS_CHASSIS = 3 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_CONTAINER = 5 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_FAN = 7 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_MODULE = 9 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_PORT = 10 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_POWER_SUPPLY = 6 : \OSS_SNMP\MIBS\Physical
PHYSICAL_CLASS_SENSOR = 8 : \OSS_SNMP\MIBS\Physical