aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_pgsql.c
diff options
context:
space:
mode:
authorGravatar Sebastian Harl <sh@teamix.net> 2011-04-08 10:53:49 +0200
committerGravatar Sebastian Harl <sh@teamix.net> 2012-07-05 11:36:58 +0200
commitc56a22cbbf17a9195feb7413086f7b96336e1aac (patch)
treeac628bf1c311f8162717a5c63645a7ad2e3617e0 /plugins/check_pgsql.c
parent034f6b3699d589ae1e744142a95da17b2fba41b3 (diff)
downloadmonitoring-plugins-c56a22cbbf17a9195feb7413086f7b96336e1aac.tar.gz
check_pgsql: Leave 'min' value in query perfdata empty.
There is no reasonable default value for that.
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r--plugins/check_pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index ea3f4029..54d2d581 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -634,7 +634,7 @@ do_query (PGconn *conn, char *query)
? _("CRITICAL")
: _("UNKNOWN"));
printf (_("'%s' returned %f"), query, value);
- printf ("|query=%f;%s;%s;0\n", value,
+ printf ("|query=%f;%s;%s;;\n", value,
query_warning ? query_warning : "",
query_critical ? query_critical : "");
return my_status;