[nagiosplug] check_pgsql: Leave 'min' value in query perfdata ...
Nagios Plugin Development
nagios-plugins at users.sourceforge.net
Sat Aug 17 22:50:49 CEST 2013
Module: nagiosplug
Branch: master
Commit: c56a22cbbf17a9195feb7413086f7b96336e1aac
Author: Sebastian Harl <sh at teamix.net>
Date: Fri Apr 8 10:53:49 2011 +0200
URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=c56a22c
check_pgsql: Leave 'min' value in query perfdata empty.
There is no reasonable default value for that.
---
plugins/check_pgsql.c | 2 +-
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)
? _("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;
More information about the Commits
mailing list