[check_postgres] [commit] Fix typo (tnxtime != txntime)

check_postgres at bucardo.org check_postgres at bucardo.org
Tue Mar 10 01:49:53 UTC 2009


Committed by Joshua Tolley <josh at endpoint.com>

Fix typo (tnxtime != txntime)

---
 check_postgres.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/check_postgres.pl b/check_postgres.pl
index 96ad41e..5f5848f 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -3546,13 +3546,13 @@ sub check_txn_time {
 				add_unknown 'T-EXCLUDE-DB';
 			}
 			else {
-				add_ok msg('tnxtime-none');
+				add_ok msg('txntime-none');
 			}
 			next;
 		}
 		$db->{perf} .= msg('maxtime', $max);
 
-		my $msg = msg('tnxtime-msg', $max);
+		my $msg = msg('txntime-msg', $max);
 		if (length $critical and $max >= $critical) {
 			add_critical $msg;
 		}
-- 
1.6.0.5



More information about the Check_postgres mailing list