summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Harl <sh@teamix.net>2011-04-08 08:53:49 (GMT)
committerSebastian Harl <sh@teamix.net>2012-07-05 09:36:58 (GMT)
commitc56a22cbbf17a9195feb7413086f7b96336e1aac (patch)
treeac628bf1c311f8162717a5c63645a7ad2e3617e0
parent034f6b3699d589ae1e744142a95da17b2fba41b3 (diff)
downloadmonitoring-plugins-c56a22cbbf17a9195feb7413086f7b96336e1aac.tar.gz
check_pgsql: Leave 'min' value in query perfdata empty.
There is no reasonable default value for that.
-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 ea3f402..54d2d58 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -634,7 +634,7 @@ do_query (PGconn *conn, char *query)
634 ? _("CRITICAL") 634 ? _("CRITICAL")
635 : _("UNKNOWN")); 635 : _("UNKNOWN"));
636 printf (_("'%s' returned %f"), query, value); 636 printf (_("'%s' returned %f"), query, value);
637 printf ("|query=%f;%s;%s;0\n", value, 637 printf ("|query=%f;%s;%s;;\n", value,
638 query_warning ? query_warning : "", 638 query_warning ? query_warning : "",
639 query_critical ? query_critical : ""); 639 query_critical ? query_critical : "");
640 return my_status; 640 return my_status;