Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for pgpool 3.6 ? #37

Open
andyzasl opened this issue Mar 6, 2017 · 1 comment
Open

Support for pgpool 3.6 ? #37

andyzasl opened this issue Mar 6, 2017 · 1 comment

Comments

@andyzasl
Copy link
Contributor

andyzasl commented Mar 6, 2017

No description provided.

@andyzasl
Copy link
Contributor Author

andyzasl commented Mar 6, 2017

Dirty hack is here:

Insert this block:

if [[ $BACKENDSTATE == "up" ]]; then
				BACKENDSTATENUM=2
 else
 				BACKENDSTATENUM=99
 fi

to pgpool_backend_status.sh after "BACKENDROLE=echo $backendrecord | awk -F, '{print $6}'"
and replace line
"echo -e ""$HOST_NAME" pgpool.backend.status[${BACKEND}] $TIME $BACKENDSTATE"
with
"echo -e ""$HOST_NAME" pgpool.backend.status[${BACKEND}] $TIME $BACKENDSTATENUM""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant