summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2019-09-18 16:19:51 -0700
committerIvan Kohler <ivan@freeside.biz>2019-09-18 16:19:51 -0700
commit8960c4e6ed107f83874647efe178f6e6845178bd (patch)
tree3cc34a1ca331f5b444d6442b2e56c2e127be6c58 /httemplate
parent754f419aa67a58a58fa890e14b1239f3e42d23c6 (diff)
fix slave IP display
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/Status.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 7fb03eb..af58f35 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -121,7 +121,7 @@ if ( $db eq 'PostgreSQL' ) {
&& FS::Record->scalar_sql('SHOW archive_mode') eq 'on';
my $slave =
- FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]+): /
+ FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]+):/
? $1 : '';
$status{'Replication'} = [
@@ -141,11 +141,11 @@ if ( $db eq 'PostgreSQL' ) {
# http://www.keithf4.com/monitoring_streaming_slave_lag/
# except pg_stat_replication still doesn't fill in the columns we need as
# non-Pg user :/
- push @{ $status{'Replication'} },
- { 'title' => 'Slave',
- 'value' => $slave || '(Missing, or unparseable archive_command)',
- },
- ;
+ #push @{ $status{'Replication'} },
+ # { 'title' => 'Slave',
+ # 'value' => $slave || '(Missing, or unparseable archive_command)',
+ # },
+ #;
}
}