mirror of https://github.com/zulip/zulip.git
puppet: Rename to check_postgresql_replication_lag.
This commit is contained in:
parent
53e59a0a13
commit
eaa99359b1
|
@ -246,7 +246,7 @@ Database monitoring:
|
||||||
being processed properly or getting backlogged.
|
being processed properly or getting backlogged.
|
||||||
* `check_postgres`: General checks for database health.
|
* `check_postgres`: General checks for database health.
|
||||||
* `check_postgresql_backup`: Checks status of Postgres backups.
|
* `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.
|
replication is up to date.
|
||||||
|
|
||||||
Standard server monitoring:
|
Standard server monitoring:
|
||||||
|
|
|
@ -157,8 +157,8 @@ define command {
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name 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_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_postgresql_replication_lag'
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
|
|
|
@ -253,7 +253,7 @@ define service {
|
||||||
define service{
|
define service{
|
||||||
use generic-service
|
use generic-service
|
||||||
service_description Check Postgres replication lag
|
service_description Check Postgres replication lag
|
||||||
check_command check_postgres_replication_lag
|
check_command check_postgresql_replication_lag
|
||||||
hostgroup postgresql
|
hostgroup postgresql
|
||||||
contact_groups admins
|
contact_groups admins
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue