mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 17:14:02 +00:00
puppet: Update nagios check_postgres_replication_lag to be on DB hosts
7d4a370a57 attempted to move the replication check to on the
PostgreSQL hosts. While it updated the _check_ to assume it was
running and talking to a local PostgreSQL instance, the configuration
and installation for the check were not updated. As such, the check
ran on the nagios host for each DB host, and produced no output.
Start distributing the check to all apopdb hosts, and configure nagios
to use the SSH tunnel to get there.
This commit is contained in:
committed by
Tim Abbott
parent
56e8cca025
commit
31d80a77d4
@@ -158,7 +158,7 @@ define command {
|
||||
|
||||
define command {
|
||||
command_name check_postgres_replication_lag
|
||||
command_line /usr/lib/nagios/plugins/zulip_nagios_server/check_postgres_replication_lag
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgres_appdb/check_postgres_replication_lag'
|
||||
}
|
||||
|
||||
define command {
|
||||
|
||||
Reference in New Issue
Block a user