An optical system for inspecting an area includes an optical housing and an optical element housed within the optical housing. The optical housing houses one or more optical fibers. The optical element housed within the optical housing focuses light onto the one or more optical fibers. A sealing member seals the optical element with respect to the optical housing. The sealing member includes a solidified glass frit material. In one example, the sealing member is disposed annularly between the optical housing and the optical element. A method of forming the optical system is also provided.