Apparatus for the automatic monitoring of the safety of operation and for the control of the progress of a process in a vacuum heat-treating oven operated with hydrogen gas as cooling gas under pressure for the hardening of metal workpieces, with a housing surrounding the heating chamber for the accommodation of the workpiece charge and connected to a vacuum pump, with gas inlet lines and gas outlet lines leading into the heating chamber, a motor blower unit whose impeller circulates the cooling gas stream, a cooling gas supply tank, a heating unit and with a heat exchanger in the cooling gas circuit, wherein an evacuating valve and at least one gas sensor are inserted into the vacuum line leading from the housing of the vacuum heat treating oven to the vacuum pump, and that a first pressure sensor detecting the pressure in the interior of the housing and a second pressure sensor detecting the pressure in the cooling gas inlet line are provided, and that at least one gas sensor testing the oven environment in the direct vicinity of the vacuum heat treating oven and one gas sensor inserted into the cooling gas outlet line are disposed, and, after the evacuating valve has been closed at the start of the quenching process, a first measurement of the two pressure sensors for the pressure in the interior of the housing and for the pressure in the cooling gas inlet line produces either the interruption of the quenching process or else produces the opening of the cooling gas inlet valve until the pressure in the housing has reached a given level, which is sensed by the first pressure sensor, or else leads to the interruption of the current quenching process if the gas sensor for the gas concentration in the environment fails to detect a given level, and finally, after the closing of the cooling gas inlet valve and an allowable gas concentration in the oven environment, the quenching procedure is ended and, after the housing has been relieved of pressure by opening the cooling gas outlet valve, a filling of the housing with flushing gas is performed by opening the flushing gas inlet valve, until the cooling gas concentration in the gas outlet line monitored by the gas sensor has become uncritical.