sensor: separate monitoring functions