hi,

On your template, add a new discovery > Create discovery rule

Name: Network Interfaces
Type: Snmpv2Agent
Key: ifname
snmp OID: discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]
snmp community: {$SNMP_COMMUNITY} -> Macro

Click button...