diff options
author | Greg Sabino Mullane | 2009-07-14 14:49:03 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-07-14 14:49:03 +0000 |
commit | 41d83fdc040c907915f74da07c5ccfcc58b6ac89 (patch) | |
tree | 10a511a7e10a8c62fea459cf332d7cbbd6bcafb4 | |
parent | cf1bde8ad6aa0f03482e1ab5567128e1da2b8de5 (diff) |
Add 'fetch' as an alternative method for new_version checks, as this comes by default with FreeBSD. Thanks to Hywell Mallett.
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index ab760b3dc..34e3201d9 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -69,6 +69,7 @@ our $get_method_timeout = 30; our @get_methods = ( "GET -t $get_method_timeout", "wget --quiet --timeout=$get_method_timeout -O -", + "fetch -q -T $get_method_timeout -o -", "curl --silent --max-time=$get_method_timeout", "lynx --connect-timeout=$get_method_timeout --dump", 'links -dump', @@ -7453,6 +7454,8 @@ Items not specifically attributed are by Greg Sabino Mullane. =item B<Version 2.9.3> Quote dbname in perf output for the backends check. (Davide Abrigo) + Add 'fetch' as an alternative method for new_version checks, as this + comes by default with FreeBSD. (Hywell Mallett) =item B<Version 2.9.2> (July 12, 2009) |