[check_postgres] Wrong checkname in docs (patch)

Christoph Berg cb at df7cb.de
Wed Mar 7 13:04:02 UTC 2012


diff --git a/check_postgres.pl b/check_postgres.pl
index 0e2f3a4..2d1e85e 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.


Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20120307/e3906f45/attachment.bin 


More information about the Check_postgres mailing list