diff options
Diffstat (limited to 'examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py')
-rw-r--r-- | examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py b/examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py index 8c4bf3dd..4f2b1244 100644 --- a/examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py +++ b/examples/v3arch/asyncore/manager/cmdgen/getbulk-fetch-scalar-and-table-variables.py @@ -6,14 +6,14 @@ Send a series of SNMP GETBULK requests with the following options: * with SNMPv3 with user 'usr-md5-des', MD5 auth and DES privacy protocols * over IPv4/UDP -* to an Agent at 195.218.195.228:161 +* to an Agent at 104.236.166.95:161 * with values non-repeaters = 1, max-repetitions = 25 * for two OIDs in tuple form (first OID is non-repeating) * stop on end-of-mib condition for both OIDs This script performs similar to the following Net-SNMP command: -| $ snmpbulkwalk -v3 -l authPriv -u usr-md5-des -A authkey1 -X privkey1 -C n1 -C r25 -ObentU 195.218.195.228 1.3.6.1.2.1.1 1.3.6.1.4.1.1 +| $ snmpbulkwalk -v3 -l authPriv -u usr-md5-des -A authkey1 -X privkey1 -C n1 -C r25 -ObentU 104.236.166.95 1.3.6.1.2.1.1 1.3.6.1.4.1.1 """# from pysnmp.entity import engine, config @@ -48,7 +48,7 @@ config.addTransport( ) config.addTargetAddr( snmpEngine, 'my-router', - udp.domainName, ('195.218.195.228', 161), + udp.domainName, ('104.236.166.95', 161), 'my-creds' ) |