8b29037cec
This is the action item to implement the spec: doc/source/specs/2025.1/chart_versioning.rst Also add overrides env variables - OSH_VALUES_OVERRIDES_PATH - OSH_INFRA_VALUES_OVERRIDES_PATH This commit temporarily disables all jobs that involve scripts in the OSH git repo because they need to be updated to work with the new values_overrides structure in the OSH-infra repo. Once this is merged I4974785c904cf7c8730279854e3ad9b6b7c35498 all these disabled test jobs must be enabled. Depends-On: I327103c18fc0e10e989a17f69b3bff9995c45eb4 Change-Id: I7bfdef3ea2128bbb4e26e3a00161fe30ce29b8e7
35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
---
|
|
conf:
|
|
nagios:
|
|
objects:
|
|
postgresql:
|
|
template: |
|
|
define service {
|
|
check_command check_prom_alert!prom_exporter_postgresql_unavailable!CRITICAL- Postgresql exporter is not collecting metrics for alerting!OK- Postgresql exporter metrics are available.
|
|
hostgroup_name prometheus-hosts
|
|
service_description Prometheus-exporter_Postgresql
|
|
use generic-service
|
|
}
|
|
|
|
define service {
|
|
check_command check_prom_alert!pg_replication_fallen_behind!CRITICAL- Postgres Replication lag is over 2 minutes!OK- postgresql replication lag is nominal.
|
|
hostgroup_name prometheus-hosts
|
|
service_description Postgresql_replication-lag
|
|
use generic-service
|
|
}
|
|
|
|
define service {
|
|
check_command check_prom_alert!pg_connections_too_high!CRITICAL- Postgres has more than 95% of available connections in use.!OK- postgresql open connections are within bounds.
|
|
hostgroup_name prometheus-hosts
|
|
service_description Postgresql_connections
|
|
use generic-service
|
|
}
|
|
|
|
define service {
|
|
check_command check_prom_alert!pg_deadlocks_detected!CRITICAL- Postgres server is experiencing deadlocks!OK- postgresql is not showing any deadlocks.
|
|
hostgroup_name prometheus-hosts
|
|
service_description Postgresql_deadlocks
|
|
use generic-service
|
|
}
|
|
...
|