2 |
# |
# |
3 |
# Monitor multiple postgresql databases on different hosts |
# Monitor multiple postgresql databases on different hosts |
4 |
# |
# |
5 |
|
# Dobrica Pavlinusic <dpavlin@rot13.org> |
6 |
|
# http://www.rot13.org/~dpavlin/sysadm.html |
7 |
|
# |
8 |
# Based on postgresql.monitor 1.3 |
# Based on postgresql.monitor 1.3 |
9 |
# by Severin Luftensteiner <severin.luftensteiner@cubit.at> |
# by Severin Luftensteiner <severin.luftensteiner@cubit.at> |
10 |
|
# it's not limited to singe host and/or singe database. |
11 |
# |
# |
12 |
#Usage: pgsql.monitor username[:password]\@host/database ... |
# Usage: pgsql.monitor username[:password]@host/database ... |
13 |
# |
# |
14 |
# a monitor to determine if a PostgreSQL database server is operational |
# a monitor to determine if a PostgreSQL database server is operational |
15 |
# |
# |
20 |
# You can use this monitor along with fping+args which also knows how to |
# You can use this monitor along with fping+args which also knows how to |
21 |
# ping hosts in that user@host/dabase format. |
# ping hosts in that user@host/dabase format. |
22 |
# |
# |
23 |
# This monitor requires the perl5 DBI, DBD::mSQL and DBD::mysql modules, |
# This monitor requires the perl5 DBI, DBD::Pg modules, |
24 |
# available from CPAN (http://www.cpan.org) |
# available from CPAN (http://www.cpan.org) |
25 |
# |
# |
26 |
# Copyright (C) 2001, CubIT IT Solutions |
# Copyright (C) 2001, CubIT IT Solutions |