author | Sebastian Harl <sh@teamix.net> | |
Wed, 6 Apr 2011 14:51:37 +0000 (16:51 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Wed, 6 Apr 2011 14:51:37 +0000 (16:51 +0200) | ||
commit | 8a55b5215a1194335455594e39ac2004e4eea754 | |
tree | 0dab0cf5b14a6d0a09c4aec467195321efdff566 | tree | snapshot |
parent | 1bc7a4a198aefde2389c9c1685baed0da7856bf5 | commit | diff |
check_pgsql: Added support for executing queries.
The query result (the double value of the first column in the first row, to be
precise) will be checked against threshold ranges specified using the -C and
-W options.
Note that this also allows to query PostgreSQL internal values using the
information available from the database daemon's "statistics collector" -- see
the chapter "Monitoring Database Activity" in the PostgreSQL manual for
details.
The query result (the double value of the first column in the first row, to be
precise) will be checked against threshold ranges specified using the -C and
-W options.
Note that this also allows to query PostgreSQL internal values using the
information available from the database daemon's "statistics collector" -- see
the chapter "Monitoring Database Activity" in the PostgreSQL manual for
details.
plugins/check_pgsql.c | diff | blob | history |