puppet: Rename to check_postgresql_replication_lag.

This commit is contained in:
Alex Vandiver 2020-10-26 14:06:29 -07:00 committed by Tim Abbott
parent 53e59a0a13
commit eaa99359b1
4 changed files with 4 additions and 4 deletions

View File

@ -246,7 +246,7 @@ Database monitoring:
being processed properly or getting backlogged.
* `check_postgres`: General checks for database health.
* `check_postgresql_backup`: Checks status of Postgres backups.
* `check_postgres_replication_lag`: Checks whether Postgres streaming
* `check_postgresql_replication_lag`: Checks whether Postgres streaming
replication is up to date.
Standard server monitoring:

View File

@ -157,8 +157,8 @@ define command {
}
define command {
command_name check_postgres_replication_lag
command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgresql/check_postgres_replication_lag'
command_name check_postgresql_replication_lag
command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgresql/check_postgresql_replication_lag'
}
define command {

View File

@ -253,7 +253,7 @@ define service {
define service{
use generic-service
service_description Check Postgres replication lag
check_command check_postgres_replication_lag
check_command check_postgresql_replication_lag
hostgroup postgresql
contact_groups admins
}