summaryrefslogtreecommitdiff
path: root/examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py')
-rw-r--r--examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py b/examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py
index 45e485ff..597778b0 100644
--- a/examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py
+++ b/examples/v3arch/asyncore/agent/ntforg/multiple-different-notifications-at-once.py
@@ -12,15 +12,15 @@ security settings:
* with user 'usr-md5-none', auth: MD5, priv NONE
* over IPv4/UDP
* send INFORM notification
-* to multiple Managers at 195.218.195.228:162, 195.218.195.228:162
+* to multiple Managers at 104.236.166.95:162, 104.236.166.95:162
* with TRAP ID 'coldStart' specified as an OID
* include managed objects information:
1.3.6.1.2.1.1.1.0 = 'Example Notificator'
Functionally similar to:
-| $ snmpinform -v3 -l authPriv -u usr-md5-none -A authkey1 195.218.195.228 0 1.3.6.1.6.3.1.1.5.1 1.3.6.1.2.1.1.1.0 s 'Example notification'
-| $ snmpinform -v2c -c public 195.218.195.228 0 1.3.6.1.6.3.1.1.5.1 1.3.6.1.2.1.1.1.0 s 'Example notification'
+| $ snmpinform -v3 -l authPriv -u usr-md5-none -A authkey1 104.236.166.95 0 1.3.6.1.6.3.1.1.5.1 1.3.6.1.2.1.1.1.0 s 'Example notification'
+| $ snmpinform -v2c -c public 104.236.166.95 0 1.3.6.1.6.3.1.1.5.1 1.3.6.1.2.1.1.1.0 s 'Example notification'
"""#
from pysnmp.entity import engine, config
@@ -57,14 +57,14 @@ config.addTransport(
# First target
config.addTargetAddr(
snmpEngine, 'my-nms-1',
- udp.domainName, ('195.218.195.228', 162),
+ udp.domainName, ('104.236.166.95', 162),
'my-creds-1',
tagList='all-my-managers'
)
# Second target
config.addTargetAddr(
snmpEngine, 'my-nms-2',
- udp.domainName, ('195.218.195.228', 162),
+ udp.domainName, ('104.236.166.95', 162),
'my-creds-2',
tagList='all-my-managers'
)