Method and system for monitoring production cluster node faults based on logs, electronic equipment and storage medium

The invention discloses a method and system for monitoring production cluster node faults based on logs, electronic equipment and a storage medium, and belongs to the technical field of computers, and the method comprises the steps: enabling a service request end to propose a service request to a se...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SUN HOUXIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and system for monitoring production cluster node faults based on logs, electronic equipment and a storage medium, and belongs to the technical field of computers, and the method comprises the steps: enabling a service request end to propose a service request to a service bus; according to a service request sent by the service bus, enabling a service providing end to provide a service corresponding to the service request, and enabling the service bus to monitor the operation state of the service and record the operation state of the service in a log table; accessing the log table, and carrying out statistics to obtain an error report number set of each node in a time period; calculating the error rate of the node according to the error report number set of each node; and if the error rate of the node is greater than a preset threshold value, automatically restarting the node. According to the method, a certain abnormal node in the cluster is automatically discovered by monitor