Procházet zdrojové kódy

Fix minor issue and add credits for #615

madlohe před 4 roky
rodič
revize
413ce4fbd5
3 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 1 0
      NEWS
  2. 1 0
      THANKS.in
  3. 2 2
      plugins/check_http.c

+ 1 - 0
NEWS

@@ -3,6 +3,7 @@ This file documents the major additions and syntax changes between releases.
 2.3.4 ????-??-??
 	pst3.c: Fix build issue on Solaris (#537)
 	check_disk: Fix false DISK CRITICAL alerts on btrfs systems (#569) (George Hansper)
+	check_http: Add -o option (Append page body as performance data) (#615) (Tobias Leich)
 	check_log: Fix error message for systems that don't use bash (#539)
 	check_log: Fix linebreaks in documentation (#621) (Matt Capra)
 	check_icmp: Add -f and -F perfdata options (#567)

+ 1 - 0
THANKS.in

@@ -400,6 +400,7 @@ Tilman Koschnick
 Tilmann Bubeck
 Tim Laszlo
 Tobias Brox
+Tobias Leich
 Todd Zullinger (tmzullinger)
 Tom Bertelston
 Tom De Blende

+ 2 - 2
plugins/check_http.c

@@ -1508,7 +1508,7 @@ check_http (void)
     /* check elapsed time */
     if (show_extended_perfdata) {
         xasprintf (&msg,
-                   _("%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s%s"),
+                   _("%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s %s"),
                    msg, page_len, elapsed_time,
                    (display_html ? "</A>" : ""),
                    perfd_time (elapsed_time),
@@ -1522,7 +1522,7 @@ check_http (void)
     }
     else {
         xasprintf (&msg,
-                   _("%s - %d bytes in %.3f second response time %s|%s %s%s"),
+                   _("%s - %d bytes in %.3f second response time %s|%s %s %s"),
                    msg, page_len, elapsed_time,
                    (display_html ? "</A>" : ""),
                    perfd_time (elapsed_time),