Bump version, minor whitespace fixes.
authorGreg Sabino Mullane <[email protected]>
Fri, 6 Feb 2009 13:45:56 +0000 (08:45 -0500)
committerGreg Sabino Mullane <[email protected]>
Fri, 6 Feb 2009 13:45:56 +0000 (08:45 -0500)
check_postgres.pl
check_postgres.pl.asc
check_postgres.pl.html
index.html

index b09cec441329a9b15882b314a0e1939ae047c288..47e42ed501222d94f8b984db8a1fcf6b278ebbb3 100755 (executable)
@@ -354,6 +354,7 @@ our %template =
         'T-BAD-QUERY'       => 'Invalid query returned:',
         );
 
+
 sub add_response {
        my ($type,$msg) = @_;
 
@@ -371,6 +372,7 @@ sub add_response {
        push @{$type->{$header}} => [$msg,$perf];
 }
 
+
 sub add_unknown {
        my $msg = shift || $db->{error};
        $msg =~ s/[\r\n]\s*/\\n /g;
@@ -387,6 +389,7 @@ sub add_ok {
        add_response \%ok, shift;
 }
 
+
 sub do_mrtg {
        ## Hashref of info to pass out for MRTG or stat
        my $arg = shift;
@@ -419,6 +422,7 @@ sub do_mrtg {
        exit 0;
 }
 
+
 sub bad_mrtg {
        my $msg = shift;
        $ERROR and ndie $ERROR;
@@ -426,6 +430,7 @@ sub bad_mrtg {
        exit 3;
 }
 
+
 sub do_mrtg_stats {
 
        ## Show the two highest items for mrtg stats hash
@@ -2502,6 +2507,7 @@ sub check_relation_size {
 
 } ## end of check_relations_size
 
+
 sub check_table_size {
        return check_relation_size('table');
 }
@@ -2902,7 +2908,6 @@ sub check_logfile {
 } ## end of check_logfile
 
 
-
 sub check_query_runtime {
 
        ## Make sure a known query runs at least as fast as we think it should
@@ -3703,6 +3708,7 @@ sub check_sequence {
 
 } ## end of check_sequence
 
+
 sub check_checkpoint {
 
        ## Checks how long in seconds since the last checkpoint on a WAL slave
index 024e420b02f31679d97e8ca062841321153065c1..aee4fa91838b6f75a8d6a6f6d5a511af04853e88 100644 (file)
@@ -1,6 +1,6 @@
 -----BEGIN PGP SIGNATURE-----
 
-iEYEABEDAAYFAkmJ0o4ACgkQvJuQZxSWSsgtCACdHn3rf2QIDUcquD/O1CFmV5eE
-KIIAn3L4Mu3B7rmEQqltvdfolM6vA4wT
-=hieS
+iEYEABEDAAYFAkmMPw4ACgkQvJuQZxSWSsi7HACgx+yN8FQgTkOVy5dyhrSbK0ls
+12MAn3IaYg1Ex1GjAcA73Hb/sa4G2lB6
+=E/p9
 -----END PGP SIGNATURE-----
index e9815becac75267c34cfbc264349712576a0a012..65d04a5c9a8ecd069d27dc112b184d8035a41dbf 100644 (file)
@@ -92,7 +92,7 @@
 <hr />
 <h1><a name="name">NAME</a></h1>
 <p><strong>check_postgres.pl</strong> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others</p>
-<p>This documents describes check_postgres.pl version 2.7.0</p>
+<p>This documents describes check_postgres.pl version 2.7.1</p>
 <p>
 </p>
 <hr />
@@ -1235,14 +1235,20 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
 <h1><a name="history">HISTORY</a></h1>
 <p>Items not specifically attributed are by Greg Sabino Mullane.</p>
 <dl>
-<dt><strong><a name="item_0"><strong>Version 2.7.0</strong> (?? 2009)</a></strong></dt>
+<dt><strong><a name="item_1"><strong>Version 2.7.1</strong> (February 6, 2009)</a></strong></dt>
+
+<dd>
+<pre>
+  Allow the -p argument for port to work again.</pre>
+</dd>
+<dt><strong><a name="item_0"><strong>Version 2.7.0</strong> (February 4, 2009)</a></strong></dt>
 
 <dd>
 <pre>
   Do not require a connection argument, but use defaults and ENV variables when 
     possible: PGHOST, PGPORT, PGUSER, PGDATABASE.</pre>
 </dd>
-<dt><strong><a name="item_1"><strong>Version 2.6.1</strong> (February 4, 2009)</a></strong></dt>
+<dt><strong><strong>Version 2.6.1</strong> (February 4, 2009)</strong></dt>
 
 <dd>
 <pre>
index 094c1dedf7efdf4afd5899ba81cf3cd3823ba198..2f57a47e00d5451a9dd10f3328174dae1bb45f17 100644 (file)
@@ -21,14 +21,14 @@ h1 {
 
 <h1>check_postgres.pl</h1>
 
-<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.7.0</b>, and was released on February 04, 2009.</p>
+<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.7.1</b>, and was released on February 06, 2009.</p>
 
 <ul>
- <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.7.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.7.1</a></li>
 </ul>
 <ul>
- <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.7.0</a></li>
- <li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.7.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.7.1</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.7.1</a></li>
 </ul>
 
 <p>The latest development version can be downloaded via git:</p>