Saltstack Official Galera Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

prometheus.yml 670B

12345678910111213141516171819202122
  1. {% raw %}
  2. server:
  3. alert:
  4. GaleraNodeNotReady:
  5. if: 'mysql_wsrep_ready != 1'
  6. for: 1m
  7. labels:
  8. severity: warning
  9. service: mysql
  10. annotations:
  11. summary: 'Galera on {{ $labels.host }} not ready'
  12. description: 'The Galera service on {{ $labels.host }} is not ready to serve queries.'
  13. GaleraNodeNotConnected:
  14. if: 'mysql_wsrep_connected != 1'
  15. for: 1m
  16. labels:
  17. severity: warning
  18. service: mysql
  19. annotations:
  20. summary: 'Galera on {{ $labels.host }} not connected'
  21. description: 'The Galera service on {{ $labels.host }} is not connected to the cluster.'
  22. {% endraw %}