diff options
Diffstat (limited to 'examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py')
-rw-r--r-- | examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py b/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py index 29c480c1..242dfb72 100644 --- a/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py +++ b/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py @@ -5,14 +5,14 @@ Bulk walk MIB Send a series of SNMP GETBULK requests * with SNMPv2c, community 'public' * 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 = 0, max-repetitions = 25 * for two OIDs in tuple form * stop on end-of-mib condition for both OIDs This script performs similar to the following Net-SNMP command: -| $ snmpbulkwalk -v2c -c public -C n0 -C r25 -ObentU 195.218.195.228 1.3.6.1.2.1.1 1.3.6.1.4.1.1 +| $ snmpbulkwalk -v2c -c public -C n0 -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 @@ -45,7 +45,7 @@ config.addTransport( ) config.addTargetAddr( snmpEngine, 'my-router', - udp.domainName, ('195.218.195.228', 161), + udp.domainName, ('104.236.166.95', 161), 'my-creds' ) |