Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_pgpool-II.pl

Rating
1 vote
Favoured:
3
Hits
90420
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin will check how many backends are connected with PgPool-II and will check if their status are "down"
check_pgpool-II.pl version 0.1.1 by Erwan Labynocle Ben Souiden

Usage : //check_pgpool-II.pl -d /path/to/pcp-commands/ -H pgpool-II.hosttocheck.net -P 9898 -U username -W password [-p] [-D "CHECK_PGPOOL-II - "] [-v] [-c 2] [-w 1] [-t 10] [-b 0]

Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-D, --display=STRING
To modify the output display...
default is "CHECK_PGPOOL-II - "
-p, --perfdata
If you want to activate the perfdata output
-v, --verbose
Show details for command-line debugging (Nagios may truncate the output)
-c, --critical=INT
Specify a critical threshold of backend in down state
default is 2
-w, --warning=INT
Specify a warning threshold of backend in down state
default is 1
-b, --backends=INT
Specify the number of waiting backends
default is 0
-t, --timeout=INT
Specify the connection timeout value in seconds. pcp command exits on timeout
default is 10
-d, --pcp-dir=STRING
Specify the path to pcp commands binaries directory
e.g. : /usr/local/pgpool-II/bin/
-H, --host=STRING
Specify the pgpool-II hostname
-p, --port=STRING
Specify the PCP port
-U, --user=STRING
Specify the username for PCP authentication
-W, --password=STRING
Specify the password for PCP authentication

.................

Send email to erwan@aleikoum.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to erwan@aleikoum.net
This plugin has been created by Erwan Labynocle Ben Souiden

Hope you will enjoy it ;)
Reviews (1)
bywolf100, July 31, 2016
0 of 1 people found this review helpful
good idea!