From: Christoph Berg Date: Thu, 8 Mar 2012 08:44:42 +0000 (+0100) Subject: Fix check_postgres_hitratio documentation X-Git-Tag: 2.20.0~38^2 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=faa453b32f481bfa5fb6bd2ce2e0707301d0fb5a;p=check_postgres.git Fix check_postgres_hitratio documentation check_postgres_hitratio was wrong called check_postgres_database_hitratio in the documentation. --- 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 -(C) Checks the hit ratio of all databases and complains when they are too low. +(C) 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 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.