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:
edcf495
)
Fix disk_space docs
author
Guillaume Lelarge
<
[email protected]
>
Thu, 23 Aug 2012 17:50:39 +0000
(19:50 +0200)
committer
Guillaume Lelarge
<
[email protected]
>
Thu, 23 Aug 2012 17:50:39 +0000
(19:50 +0200)
Comments from Lance Raymond.
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 6cb05b09f80384543e8feb9312ea1230f33f949e..e8018a1543a3639fb38ff358c4158d4e8cbfb221 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-8692,7
+8692,7
@@
L</"BASIC FILTERING"> section for more details.
Example 1: Make sure that no file system is over 90% for the database on port 5432.
- check_postgres_disk_space --port=5432 --warning='90%' --critical=
"
90%'
+ check_postgres_disk_space --port=5432 --warning='90%' --critical=
'
90%'
Example 2: Check that all file systems starting with /dev/sda are smaller than 10 GB and 11 GB (warning and critical)