summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2012-03-08 08:44:42 +0000
committerChristoph Berg2012-03-08 08:44:42 +0000
commitfaa453b32f481bfa5fb6bd2ce2e0707301d0fb5a (patch)
treed1c303cac5b95e7797644285f0931d6b5fe0de95
parenta2be20a6967df2b860bbe34f7ef4b6826a958058 (diff)
Fix check_postgres_hitratio documentation
check_postgres_hitratio was wrong called check_postgres_database_hitratio in the documentation.
-rwxr-xr-xcheck_postgres.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 0e2f3a44d..2d1e85e16 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -8693,7 +8693,7 @@ the second line.
=head2 B<hitratio>
-(C<symlink: check_postgres_database_hitratio>) Checks the hit ratio of all databases and complains when they are too low.
+(C<symlink: check_postgres_hitratio>) Checks the hit ratio of all databases and complains when they are too low.
There is no need to run this command more than once per database cluster.
Databases can be filtered with
the I<--include> and I<--exclude> options. See the L</"BASIC FILTERING"> section
@@ -8709,7 +8709,7 @@ hitratio, smallest first.
Example: Warn if any database on host flagg is less than 90% in hitratio, and critical if less then 80%.
- check_postgres_database_hitratio --host=flagg --warning='90%' --critical='80%'
+ check_postgres_hitratio --host=flagg --warning='90%' --critical='80%'
For MRTG output, returns the percentage of the database with the smallest hitratio on the first line,
and the name of the database on the fourth line.