summaryrefslogtreecommitdiff
path: root/net/p5-SNMP
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2004-01-11 13:19:13 +0000
committercjep <cjep@pkgsrc.org>2004-01-11 13:19:13 +0000
commit76e07f3b5bae0b410f706954315ef0ff88eb7193 (patch)
tree7dfebfb53cef5366426bd6441fce6e6199f26a29 /net/p5-SNMP
parent69ccb3429511b47c47d20074aaf7574f6497c1d4 (diff)
downloadpkgsrc-76e07f3b5bae0b410f706954315ef0ff88eb7193.tar.gz
Lint. <=24 lines
Diffstat (limited to 'net/p5-SNMP')
-rw-r--r--net/p5-SNMP/DESCR24
1 files changed, 1 insertions, 23 deletions
diff --git a/net/p5-SNMP/DESCR b/net/p5-SNMP/DESCR
index 8ca6fb6d340..44d7e52bf62 100644
--- a/net/p5-SNMP/DESCR
+++ b/net/p5-SNMP/DESCR
@@ -1,31 +1,9 @@
This is a Perl5 extension module which provides an interface to the
CMU-SNMPv2 library.
-Description:
-
The basic operations offered by SNMP are provided through an object
oriented interface for modularity and ease of use. The primary object is
SNMP::Session which is implemented as a blessed hash reference. The
object supports 'get', 'set', and 'getNext' method calls. All calls are
blocking/synchronous (i.e., they must receive a response or timeout
-before control is returned to the caller). The methods take a variety of
-input argument formats(see test.pl and examp/* for examples). A
-description of the objects data fields follow.
-
-SNMP::Session
- DestHost - default 'localhost', hostname or ip addr of SNMP agent
- Community - default 'public', SNMP community string
- Version - default '1', v1 support only for now
- Timeout - default '1000000', micro-seconds before retry
- Retries - default '5', retries before failure
- RetryNoSuch - default '1', for get request NOSUCH errors, the pdu will
- be repaired, removing the varbind in error, and resent -
- undef will be returned for all NOSUCH varbinds, setting
- to '0' disables this feature and the entire get request
- will fail on any NOSUCH error
- ErrorStr - read-only, returns a test description of any error occuring
- in the last request
- ErrorNum - read-only, returns the snmp_err or staus of last request
- private
- DestAddr - internal field used to hold the translated DestHost field
- SessPtr - internal field used to cache a created session structure
+before control is returned to the caller).