summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-08-06 21:45:12 +0000
committerGreg Sabino Mullane2009-08-06 21:45:12 +0000
commitff001b3605150942cdc861fc1f360bb46c55c272 (patch)
treeda81e202650bf43748106d2f5f8ba9f817097a59 /check_postgres.pl
parentefc15dfaba7ee7cfd464978b611a390f3b58b951 (diff)
Change rc file to check_postgresrc, per suggestion on mailing list from Guillaume Lelarge
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 9390ac62e..5d0998126 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -579,14 +579,14 @@ $opt{timeout} = 30;
## Format of these files is simply name=val
my $rcfile;
-if (-e '.checkpostgresrc') {
- $rcfile = '.checkpostgresrc';
+if (-e '.check_postgresrc') {
+ $rcfile = '.check_postgresrc';
}
-elsif (-e "$ENV{HOME}/.checkpostgresrc") {
- $rcfile = "$ENV{HOME}/.checkpostgresrc";
+elsif (-e "$ENV{HOME}/.check_postgresrc") {
+ $rcfile = "$ENV{HOME}/.check_postgresrc";
}
-elsif (-e '/etc/checkpostgresrc') {
- $rcfile = '/etc/checkpostgresrc';
+elsif (-e '/etc/check_postgresrc') {
+ $rcfile = '/etc/check_postgresrc';
}
if (defined $rcfile) {
open my $rc, '<', $rcfile or die qq{Could not open "$rcfile": $!\n};
@@ -6504,7 +6504,7 @@ and C<new_version_pg> checks. The following programs are tried, in order, to gra
information from the web: GET, wget, fetch, curl, lynx, links. To force the use of just
one (and thus remove the overhead of trying all the others until one of those works),
enter one of the names as the argument to get_method. For example, a BSD box might enter
-the folling line in their C<.checkpostgresrc> file:
+the folling line in their C<.check_postgresrc> file:
get_method=fetch