I noticed a couple of these contraptions at the arboretum last week. Chris, the curator, told me that they are bark beetle traps. They're just checking to see if we have any here.
Bark Beetle information here.