Sensors for separator alarms