diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 3637423..728e7c1 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -939,14 +939,14 @@ check_http (void) | |||
939 | microsec = deltime (tv); | 939 | microsec = deltime (tv); |
940 | elapsed_time = (double)microsec / 1.0e6; | 940 | elapsed_time = (double)microsec / 1.0e6; |
941 | asprintf (&msg, | 941 | asprintf (&msg, |
942 | _("HTTP WARNING: %s - %.3f second response time %s|%s %s\n"), | 942 | _(" - %s - %.3f second response time %s|%s %s\n"), |
943 | status_line, elapsed_time, | 943 | status_line, elapsed_time, |
944 | (display_html ? "</A>" : ""), | 944 | (display_html ? "</A>" : ""), |
945 | perfd_time (elapsed_time), perfd_size (pagesize)); | 945 | perfd_time (elapsed_time), perfd_size (pagesize)); |
946 | if (check_critical_time == TRUE && elapsed_time > critical_time) | 946 | if (check_critical_time == TRUE && elapsed_time > critical_time) |
947 | die (STATE_CRITICAL, "%s", msg); | 947 | die (STATE_CRITICAL, "HTTP %s: %s", _("CRITICAL"), msg); |
948 | if (check_warning_time == TRUE && elapsed_time > warning_time) | 948 | if (check_warning_time == TRUE && elapsed_time > warning_time) |
949 | die (STATE_WARNING, "%s", msg); | 949 | die (STATE_WARNING, "HTTP %s: %s", _("WARNING"), msg); |
950 | 950 | ||
951 | /* Page and Header content checks go here */ | 951 | /* Page and Header content checks go here */ |
952 | /* these checks should be last */ | 952 | /* these checks should be last */ |