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.py3
1 files changed, 3 insertions, 0 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 e1781416..8fb7c483 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
@@ -45,6 +45,7 @@ config.addV3User(
snmpEngine, 'usr-md5-none',
config.USM_AUTH_HMAC96_MD5, 'authkey1'
)
+
config.addTargetParams(snmpEngine, 'my-creds-2', 'usr-md5-none', 'authNoPriv')
# Setup transport endpoint and bind it with security settings yielding
@@ -54,6 +55,7 @@ config.addTransport(
udp.DOMAIN_NAME,
udp.UdpSocketTransport().openClientMode()
)
+
# First target
config.addTargetAddr(
snmpEngine, 'my-nms-1',
@@ -61,6 +63,7 @@ config.addTargetAddr(
'my-creds-1',
tagList='all-my-managers'
)
+
# Second target
config.addTargetAddr(
snmpEngine, 'my-nms-2',