Monitoring of pressure and vacuum