SNMP クラスはじめにSNMP セッションを表します。 クラス概要
SNMP
/* 定数 */
public
const
int
SNMP::VERSION_1;
public
const
int
SNMP::VERSION_2c;
public
const
int
SNMP::VERSION_2C;
public
const
int
SNMP::VERSION_3;
public
const
int
SNMP::ERRNO_NOERROR;
public
const
int
SNMP::ERRNO_ANY;
public
const
int
SNMP::ERRNO_GENERIC;
public
const
int
SNMP::ERRNO_TIMEOUT;
public
const
int
SNMP::ERRNO_ERROR_IN_REPLY;
public
const
int
SNMP::ERRNO_OID_NOT_INCREASING;
public
const
int
SNMP::ERRNO_OID_PARSING_ERROR;
public
const
int
SNMP::ERRNO_MULTIPLE_SET_QUERIES;
/* プロパティ */
public
readonly
array
$info;
public
intnull
$max_oids;
public
int
$valueretrieval;
public
bool
$quick_print;
public
bool
$enum_print;
public
int
$oid_output_format;
public
bool
$oid_increasing_check;
public
int
$exceptions_enabled;
/* メソッド */
public __construct(
int $version ,string $hostname ,string $community ,int $timeout = -1,int $retries = -1) public bool close()
public mixed get(arraystring
$objectId , bool $preserveKeys = false )public int getErrno()
public string getError()
public mixed getnext(arraystring
$objectId )public bool set(arraystring
$objectId , arraystring $type , arraystring $value )public bool setSecurity(
string $securityLevel ,string $authProtocol = "",string $authPassphrase = "",string $privacyProtocol = "",string $privacyPassphrase = "",string $contextName = "",string $contextEngineId = "") public arrayfalse walk(
arraystring $objectId ,bool $suffixAsKey = false ,int $maxRepetitions = -1,int $nonRepeaters = -1) プロパティ
定義済み定数SNMP エラー型
SNMP プロトコルバージョン
|