php man page for snmpget

Query: snmpget

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SNMPGET(3)								 1								SNMPGET(3)

snmpget - Fetch anSNMPobject

SYNOPSIS
string snmpget (string $hostname, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5])
DESCRIPTION
The snmpget(3) function is used to read the value of an SNMP object specified by the $object_id.
PARAMETERS
o $hostname - The SNMP agent. o $community - The read community. o $object_id - The SNMP object. o $timeout - The number of microseconds until the first timeout. o $retries - The number of times to retry if timeouts occur.
RETURN VALUES
Returns SNMP object value on success or FALSE on error.
EXAMPLES
Example #1 Using snmpget(3) <?php $syscontact = snmpget("127.0.0.1", "public", "system.SysContact.0"); ?>
SEE ALSO
snmpset(3). PHP Documentation Group SNMPGET(3)
Related Man Pages
snmpget(1) - suse
snmp3_get(3) - php
snmpget(1) - opensolaris
snmprealwalk(3) - php
snmp2_getnext(3) - php
Similar Topics in the Unix Linux Community
snmpget command not working
snmpget in a perl programme
snmpget/snmpwalk for dskPercent not working.
snmpget
snmpget not working on AIX shared wpar