The oil vapor sensor monitors the oil content of compressed air and gases permanently or for spot checks when used as portable unit. Sensor contaminations and sensor life time are monitored and indicated to the user. An ‘over range’ detection removes the sampling air from the sensor to protect it against contamination.