From 7b6cf31fe1ee267dc0fdf8d5a31a3d035b2d45e7 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 6 Aug 2009 16:25:31 -0400 Subject: [PATCH] =?utf8?q?Add=20Nagios=20perf=20output=20to=20the=20wal=5F?= =?utf8?q?files=20check=20(C=C3=A9dric=20Villemain)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- check_postgres.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/check_postgres.pl b/check_postgres.pl index f9a70991a..695c81833 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3113,6 +3113,7 @@ sub check_wal_files { next; } my $msg = qq{$numfiles}; + $db->{perf} .= " '$db->{host}'=$numfiles;$warning;$critical"; if (length $critical and $numfiles > $critical) { add_critical $msg; } @@ -7570,6 +7571,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B + + Add Nagios perf output to the wal_files check (Cédric Villemain) + =item B (August 3, 2009) For same_schema, compare view definitions, and compare languages. -- 2.39.5