From c56a22cbbf17a9195feb7413086f7b96336e1aac Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 8 Apr 2011 10:53:49 +0200 Subject: check_pgsql: Leave 'min' value in query perfdata empty. There is no reasonable default value for that. --- plugins/check_pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3-74-g34f1