Discussion:
net-snmp and FQDN
Bill Fenner
2017-07-17 10:52:05 UTC
Permalink
If net-snmp is running on a dual-stack host, and you give it a dual-stack
destination, what is your desired behavior for this mode of operation?

Bill


On Mon, Jul 17, 2017 at 1:42 AM, Raghava Kowshika Manjunatha via
Hello,
We have integrated net-snmp into our application that runs on an embedded
system.
We use net-snmp to send traps to user configured trap receivers.
Until now, users could have configured only an IP address only trap
receivers.
Now, we have enhanced our system so that user can configure FQDN as well
for trap receivers.
We would like to feed user configured FQDN into net-snmp so that net-snmp
can resolve the FQDN into an IP and determine the transport domain (UDP or
UDP6) before sending the traps.
1. Is this possible in any of the net-snmp release versions?
2. If not, what workaround do you recommend?
[ We currently, resolve FQDN into IP addresses and create trap session for
each such resolved address. This works alright but has its own limitations.
For example, DNS Server should be reachable when trap sessions are being
created. Also if user decides to host trap receiver on a different server
(same FQDN but different IP), then he will have to reconfigure the trap
receiver on our device ]
1. create_trap_session
2. snmpTargetAddrTable_create, snmpTargetAddrTable_add,
snmpNotifyTable_create, snmpNotifyTable_add, snmpTargetParamTable_create,
snmpTargetParamTable_add
We currently use net-snmp-5.4.2.1-ssl-1.
Best Regards,
Raghava
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...