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:
4a340a5
)
Doc typo, caught by Cédriv Villemain.
author
Greg Sabino Mullane
<
[email protected]
>
Wed, 25 Mar 2009 13:46:41 +0000
(09:46 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Wed, 25 Mar 2009 13:46:41 +0000
(09:46 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 6ac0c86897f5a4b08c8f68ebcb02b8d5b694e38d..d8509e247f8dbf1da24264e3cc5fc1d9a5ca2ec9 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-5428,7
+5428,7
@@
The string returned shows the time difference as well as the time on each side w
Example 1: Check that databases on hosts ankh, morpork, and klatch are no more than 3 seconds off from the local time:
- check_postgres_timesync --host=ankh,morpork
.
klatch --critical=3
+ check_postgres_timesync --host=ankh,morpork
,
klatch --critical=3
For MRTG output, returns one the first line the number of seconds difference between the local
time and the database time. The fourth line returns the name of the database.