diff options
Diffstat (limited to 'plugins/check_mysql_query.c')
-rw-r--r-- | plugins/check_mysql_query.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index e1d1cfe0..9d2f4932 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
@@ -152,7 +152,13 @@ main (int argc, char **argv) | |||
152 | } else if (status == STATE_CRITICAL) { | 152 | } else if (status == STATE_CRITICAL) { |
153 | printf("QUERY %s: ", _("CRITICAL")); | 153 | printf("QUERY %s: ", _("CRITICAL")); |
154 | } | 154 | } |
155 | printf(_("'%s' returned %f"), sql_query, value); | 155 | printf(_("'%s' returned %f | %s"), sql_query, value, |
156 | fperfdata("result", value, "", | ||
157 | my_thresholds->warning?TRUE:FALSE, my_thresholds->warning?my_thresholds->warning->end:0, | ||
158 | my_thresholds->critical?TRUE:FALSE, my_thresholds->critical?my_thresholds->critical->end:0, | ||
159 | FALSE, 0, | ||
160 | FALSE, 0) | ||
161 | ); | ||
156 | printf("\n"); | 162 | printf("\n"); |
157 | 163 | ||
158 | return status; | 164 | return status; |