summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.c
diff options
context:
space:
mode:
authorSebastian Harl <sh@teamix.net>2011-04-06 14:51:37 (GMT)
committerSebastian Harl <sh@teamix.net>2012-07-05 09:36:57 (GMT)
commit912df3ef9b188c82893dace1e9b56c42a558fdba (patch)
treec61361eb6584bbda1db05c76db904ce4a5b285ba /plugins/netutils.c
parentc98223f44175fcfc2ee550349d238db1146b7d2d (diff)
downloadmonitoring-plugins-912df3ef9b188c82893dace1e9b56c42a558fdba.tar.gz
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.
Diffstat (limited to 'plugins/netutils.c')
0 files changed, 0 insertions, 0 deletions