A novel strategy for online real-time remote monitoring of air/vacuum valves in water pipelines is proposed and validated. The sensing setup consists of a fiber Bragg grating operating as an optical strain gauge and embedded into a 3D-printed thermoplastic polyurethane casing, which is then fixed to the intake/exhaust port of an air/vacuum valve and allowed to bend in response to the airflow. Experimentation with a test bench simulating water adductor piping systems shows that the proposed strategy can detect and discriminate between air purge and intake events, measure their duration, and possibly quantify the volume of displaced air. The proposed all-optical setup was compared against an orifice plate approach, producing consistent results while being more compact, robust, reliable, and requiring a single fiber optic sensor to achieve all measurements, as opposed to the four or up electronic pressure sensors with the orifice plate.