diff options
Diffstat (limited to 'examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py')
-rw-r--r-- | examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py b/examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py index 7985d848..c2031bfa 100644 --- a/examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py +++ b/examples/v3arch/asyncore/agent/ntforg/send-notification-over-ipv4-and-ipv6.py @@ -44,6 +44,7 @@ config.addTransport( udp.DOMAIN_NAME, udp.UdpSocketTransport().openClientMode() ) + config.addTargetAddr( snmpEngine, 'my-nms-1', udp.DOMAIN_NAME, ('104.236.166.95', 162), @@ -57,6 +58,7 @@ config.addTransport( udp6.DOMAIN_NAME, udp6.Udp6SocketTransport().openClientMode() ) + config.addTargetAddr( snmpEngine, 'my-nms-2', udp6.DOMAIN_NAME, ('::1', 162), |