feat: add postgres/gitea/blackbox alerts and more node alerts
This commit is contained in:
@ -54,7 +54,61 @@ groups = [
|
||||
dashboard_path_if_exist = "dashboards/self-monitoring"
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus-local-1"]
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "Node Alerts"
|
||||
folder_uid = "node"
|
||||
alert_definitions_path = "alerts/node"
|
||||
dashboard_path_if_exist = "dashboards/system"
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "Container Alerts"
|
||||
folder_uid = "containers"
|
||||
alert_definitions_path = "alerts/containers"
|
||||
dashboard_path_if_exist = ""
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "Nginx Alerts"
|
||||
folder_uid = "nginx"
|
||||
alert_definitions_path = "alerts/nginx"
|
||||
dashboard_path_if_exist = ""
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "PostgreSQL Alerts"
|
||||
folder_uid = "postgres"
|
||||
alert_definitions_path = "alerts/postgres"
|
||||
dashboard_path_if_exist = ""
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "Gitea Alerts"
|
||||
folder_uid = "gitea"
|
||||
alert_definitions_path = "alerts/gitea"
|
||||
dashboard_path_if_exist = ""
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
},
|
||||
{
|
||||
dashboard_alert_group_name = "Blackbox Alerts"
|
||||
folder_uid = "blackbox"
|
||||
alert_definitions_path = "alerts/blackbox"
|
||||
dashboard_path_if_exist = ""
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
}
|
||||
]
|
||||
# Data sources configuration
|
||||
|
||||
Reference in New Issue
Block a user