PCT No. PCT/EP97/00657 Sec. 371 Date Sep. 14, 1998 Sec. 102(e) Date Sep. 14, 1998 PCT Filed Feb. 13, 1997 PCT Pub. No. WO97/34454 PCT Pub. Date Sep. 18, 1997A cooler which can be fitted on a rear wall or a side wall or a door of a switching cabinet and can be connected thereto via an intake and an inlet aperture of an internal circuit. According to the invention, rain and dustproofing is improved because alongside a central ventilation shaft open at the top, the cooler housing has vertical ventilation chambers open at the top as part of an external circuit hermetically separated from the internal circuit, the top of the switching cabinet and cooler housing is covered by a roofing component spaced therefrom which projects on all sides beyond the control box and the cooler housing and leaves a peripheral ventilation slot opening downwards. The roofing component is divided by two partitions into three chambers which communicate with the ventilation shaft and both ventilation chambers in the cooler housing.