Note superuser requirement
authorGreg Sabino Mullane <[email protected]>
Tue, 16 Dec 2008 21:19:35 +0000 (16:19 -0500)
committerGreg Sabino Mullane <[email protected]>
Tue, 16 Dec 2008 21:19:35 +0000 (16:19 -0500)
check_postgres.pl

index 78182aa646abbdd2ad535c26fc711c31f07b79c1..1b545b0e8afb94155c0956e541291a0885936bc8 100755 (executable)
@@ -4061,10 +4061,12 @@ given. This choice does not use the B<max_connections> setting. Second, the
 percentage of available connections can be given. Third, a negative number can 
 be given which represents the number of connections left until B<max_connections> 
 is reached. The default values for I<--warning> and I<--critical> are '90%' and '95%'.
-You can also specify I<--noidle> to return a count of non-idle processes.
 You can also filter the databases by use of the <--include> and I<--exclude> options.
 See the L</"BASIC FILTERING"> section for more details.
 
+To view only non-idle processes, you can use the I<--noidle> argument. Note that the 
+user you are connecting as must be a superuser for this to work properly.
+
 Example 1: Give a warning when the number of connections on host quirm reaches 120, and a critical if it reaches 150.
 
   check_postgres_backends --host=quirm --warning=120 --critical=150