It is the engine driven pumps that do all the work in producing flow of the hydraulic fluid, the harder they work the hotter they get. Remember the pumps are lubricated and cooled by the hydraulic fluid. The overheat detector is fitted at the pump to give indication of possible pump failure.

Hydraulic system temperature may be monitored at the reservoir but the question is specifying Overheat detection.