From 41d83fdc040c907915f74da07c5ccfcc58b6ac89 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 14 Jul 2009 10:49:03 -0400 Subject: Add 'fetch' as an alternative method for new_version checks, as this comes by default with FreeBSD. Thanks to Hywell Mallett. --- check_postgres.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'check_postgres.pl') 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 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 (July 12, 2009) -- cgit v1.2.3