diff options
Diffstat (limited to 'examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py')
-rw-r--r-- | examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py b/examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py index e49d604b..f5d6167e 100644 --- a/examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py +++ b/examples/v3arch/asyncore/proxy/command/v2c-to-v3-conversion.py @@ -7,7 +7,7 @@ Act as a local SNMPv1/v2c Agent, relay messages to distant SNMPv3 Agent: * with local SNMPv2c community 'public' * local Agent listening at 127.0.0.1:161 * remote SNMPv3 user usr-md5-none, MD5 auth and no privacy protocols -* remote Agent listening at 195.218.195.228:161 +* remote Agent listening at 104.236.166.95:161 This script can be queried with the following Net-SNMP command: @@ -15,7 +15,7 @@ This script can be queried with the following Net-SNMP command: due to proxy, it is equivalent to -| $ snmpget -v3 -l authNoPriv -u usr-md5-none -A authkey1 -ObentU 195.218.195.228:161 1.3.6.1.2.1.1.1.0 +| $ snmpget -v3 -l authNoPriv -u usr-md5-none -A authkey1 -ObentU 104.236.166.95:161 1.3.6.1.2.1.1.1.0 Warning: for production operation you would need to modify this script so that it will re-map possible duplicate request-ID values, coming in @@ -80,7 +80,7 @@ config.addTargetParams( ) config.addTargetAddr( snmpEngine, 'distant-agent', - udp.domainName + (2,), ('195.218.195.228', 161), + udp.domainName + (2,), ('104.236.166.95', 161), 'distant-agent-auth', retryCount=0 ) |