summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2016-06-08 10:00:14 +0000
committerChristoph Berg2016-06-08 10:00:14 +0000
commitc2e378122b5b20abf7ab69476296a5307733def0 (patch)
treea03b4ed53184b0cc566ac3c11fd1861fe1b07c5a
parent735515a682a6ece76054ba5ceb8b25d0a55ff312 (diff)
Update query_time docs to match actual code
Close #63.
-rwxr-xr-xcheck_postgres.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 2fa13d224..afb3b27a0 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -9714,7 +9714,7 @@ query with the I<--includeuser> and I<--excludeuser> options.
See the L</"USER NAME FILTERING"> section for more details.
The values for the I<--warning> and I<--critical> options are amounts of
-time, and default to '2 minutes' and '5 minutes' respectively. Valid units
+time, and at least one must be provided (no defaults). Valid units
are 'seconds', 'minutes', 'hours', or 'days'. Each may be written singular or
abbreviated to just the first letter. If no units are given, the unit is
assumed to be seconds.
@@ -9980,7 +9980,7 @@ using the I<--include> and I<--exclude> options. See the L</"BASIC FILTERING">
section below for more details.
The I<--warning> and I<--critical> options are given as units of time, signed
-integers, or integers for units of time, and both must be provided (there are
+integers, or integers for units of time, and at least one must be provided (there are
no defaults). Valid units are 'seconds', 'minutes', 'hours', or 'days'. Each
may be written singular or abbreviated to just the first letter. If no units
are given and the numbers are unsigned, the units are assumed to be seconds.
@@ -10014,7 +10014,7 @@ the I<--includeuser> and I<--excludeuser> options.
See the L</"USER NAME FILTERING"> section for more details.
The values or the I<--warning> and I<--critical> options are units of time, and
-must be provided (no default). Valid units are 'seconds', 'minutes', 'hours',
+at least one must be provided (no default). Valid units are 'seconds', 'minutes', 'hours',
or 'days'. Each may be written singular or abbreviated to just the first letter.
If no units are given, the units are assumed to be seconds.