collector/snmp: don't set unused variable logh