From: Sebastian Harl Date: Fri, 8 Apr 2011 08:53:49 +0000 (+0200) Subject: check_pgsql: Leave 'min' value in query perfdata empty. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1b854835f9bb91a9be47821cbbe88c9e6635a9c;p=nagiosplug.git check_pgsql: Leave 'min' value in query perfdata empty. There is no reasonable default value for that. --- diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 4b44529..9cdeb50 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;