Probe tethered monolithic architectures as facile solid-state chemosensors for the on-site colorimetric recognition of Co(II) in aqueous and industrial samples.