A class for performing SNMP V2 queries on generic devices
| copyright | Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland |
|---|---|
| author | Barry O'Donovan |
contact() : string
stringThe system contact of the devicedescription() : string
stringThe system description of the devicegetAll() : array
arrayAll system values as an associate arraygetSNMP() : \OSS_SNMP\SNMP
\OSS_SNMP\SNMPInstance of the SNMP objectlocation() : string
stringThe system location of the devicename() : string
stringThe system name of the deviceservices() : string
stringThe system services of the devicesetSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMPthe SNMP instance
\OSS_SNMP\MIBAn instance of this class for fluent interfacessystemObjectID() : string
stringThe system object IDuptime() : int
intThe system uptime of the device (in timeticks)$_snmp
nullOID_SYSTEM_CONTACT = '.1.3.6.1.2.1.1.4.0'
OID_SYSTEM_DESCRIPTION = '.1.3.6.1.2.1.1.1.0'
OID_SYSTEM_LOCATION = '.1.3.6.1.2.1.1.6.0'
OID_SYSTEM_NAME = '.1.3.6.1.2.1.1.5.0'
OID_SYSTEM_OBJECT_ID = '.1.3.6.1.2.1.1.2.0'
OID_SYSTEM_SERVICES = '.1.3.6.1.2.1.1.7.0'
OID_SYSTEM_UPTIME = '.1.3.6.1.2.1.1.3.0'