projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8b700
)
Typo
author
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 10 Apr 2009 15:50:19 +0000
(11:50 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 10 Apr 2009 15:50:19 +0000
(11:50 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index acad1d32e5a5f924e9cbeeb7e5dd7ca7cca9d2c5..b09d324af67b4d8d4032332e4de40c2d43a05032 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-5458,7
+5458,7
@@
Example 2: Using default values (2 and 5 minutes), check all databases except th
Example 3: Warn if user 'don' has a query running over 20 seconds
- check_postgres_query_time --port=5432 --inclu
c
deuser=don --warning=20s
+ check_postgres_query_time --port=5432 --includeuser=don --warning=20s
For MRTG output, returns the length in seconds of the longest running query on the first line. The fourth
line gives the name of the database.