A method for servicing a computerized system includes detecting a failure of a given type in the computerized system, and generating a list of corrective actions in response to the failure, using an automated maintenance program. A record of one or more previous failures of the given type in the computerized system is retrieved, indicating at least one previous corrective action taken in response to the previous failures. The method prioritizes the list of corrective actions responsively to the record, using the automated maintenance program, so as to adjust a priority of the at least one previous corrective action in the list. The prioritized list from the automated maintenance program is provided to a repair function for use in servicing the computerized system.