Giant beetles that eat rotting wood and operate like a hive collective
Giant boring beetles eat rotting wood, and thus are found in huge trees and similar places, or in underground tunnels where tree roots are available for food; they can also eat giant mushrooms or other megafungi that might be found in subterranean environments. Unlike other beetles, boring beetles operate almost like a hive or collective, and any attack against one individual is likely to attract all others within 180 feet.
Basic Fantasy Field Guide Omnibus
Tunnel-dwelling beetle that feeds on fungal cultures in rotting wood
Giant boring beetles will often be found in dead trees and tunnel complexes—wherever there is sufficient rotting wood and moisture to support the fungal cultures they eat. There are rumours that some have developed a "hive-mind" similar to ants and when threatened they may display surprising group intelligence in the defence of their home.
OSRIC