I have configured confd SNMP gateway by providing the below configuration in confd.conf
<snmpgw>
<enabled>true</enabled>
<trapPort>162</trapPort>
<agent>
<name>a1</name>
<subscriptionId>id1</subscriptionId>
<enabled>true</enabled>
<community>public</community>
<version>v2c</version>
<timeout>PT2S</timeout>
<ip>10.106.138.129</ip>
<port>161</port>
<module>SNMPv2-SMI</module>
<module>SNMPv2-TC</module>
<module>SNMP-FRAMEWORK-MIB</module>
<module>IF-MIB</module>
<module>CISCO-SMI</module>
<module>CISCO-ST-TC</module>
<module>INET-ADDRESS-MIB</module>
<module>CISCO-TC</module>
<module>CISCO-UNIFIED-COMPUTING-MIB</module>
<module>CISCO-UNIFIED-COMPUTING-TC-MIB</module>
<module>CISCO-UNIFIED-COMPUTING-FAULT-MIB</module>
<module>CISCO-UNIFIED-COMPUTING-NOTIFS-MIB</module>
</agent>
</snmpgw>
And, when I send the test trap from the external device I see the below error in the log.
confd[20397]: devel-c no registration found for callpoint id1/recv of type=external
Queries
1. Is the above error is because no Application is subscribed to receive the notification?
2. Is there any way to store the SNMP trap data in CDB after receiving it from the external device.