Pressure transmitters for cooling gearboxes