node check: prevent WARNING in --downstream --nagios output

This commit is contained in:
Ian Barwick
2022-04-20 17:45:00 +09:00
parent bb63fb08d0
commit 2756d6fd94
3 changed files with 29 additions and 8 deletions

View File

@@ -597,6 +597,7 @@ int get_replication_lag_seconds(PGconn *conn);
TimeLineID get_node_timeline(PGconn *conn, char *timeline_id_str);
void get_node_replication_stats(PGconn *conn, t_node_info *node_info);
NodeAttached is_downstream_node_attached(PGconn *conn, char *node_name, char **node_state);
NodeAttached is_downstream_node_attached_quiet(PGconn *conn, char *node_name, char **node_state);
void set_upstream_last_seen(PGconn *conn, int upstream_node_id);
int get_upstream_last_seen(PGconn *conn, t_server_type node_type);