Magickbase / infra

0 stars 0 forks source link

Website Availability Monitoring #65

Open guomaoqiu opened 1 year ago

guomaoqiu commented 1 year ago

At present, the website and API interface newly added on the BAOTA fortress machine (reverse proxy to the backend service after binding the domain name) has a monitoring mechanism. When the backend service is abnormal, the proxy server will throw an error. , but since all sites are monitored (direct access to / of the domain name), the planned monitoring rule is that when the response code of the accessed domain name is 50x, it means that the proxy or back-end website or API interface is abnormal, and the monitoring notification will be sent in time.

At the same time, some useless domain names will be stopped and cleaned up later.

guomaoqiu commented 1 year ago
  1. Obtain the proxy domain name on the Baota bastion machine and complete
  2. The return value of the requested domain name is completed
  3. Promehteus configuration, grafana configuration completed

undone:

  1. Configure alert rules
  2. Close unused domain names

https://grafana.layerview.io/d/2gktk-gSk/domain-status

Image