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
string
The system contact of the devicedescription() : string
string
The system description of the devicegetAll() : array
array
All system values as an associate arraygetSNMP() : \OSS_SNMP\SNMP
\OSS_SNMP\SNMP
Instance of the SNMP objectlocation() : string
string
The system location of the devicename() : string
string
The system name of the deviceservices() : string
string
The system services of the devicesetSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMP
the SNMP instance
\OSS_SNMP\MIB
An instance of this class for fluent interfacessystemObjectID() : string
string
The system object IDuptime() : int
int
The system uptime of the device (in timeticks)$_snmp
null
OID_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'