diff options
-rw-r--r-- | plugins/check_http.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 2038f4a1..d7166f7f 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1453,32 +1453,32 @@ char *perfd_time (double elapsed_time) | |||
1453 | return fperfdata ("time", elapsed_time, "s", | 1453 | return fperfdata ("time", elapsed_time, "s", |
1454 | thlds->warning?TRUE:FALSE, thlds->warning?thlds->warning->end:0, | 1454 | thlds->warning?TRUE:FALSE, thlds->warning?thlds->warning->end:0, |
1455 | thlds->critical?TRUE:FALSE, thlds->critical?thlds->critical->end:0, | 1455 | thlds->critical?TRUE:FALSE, thlds->critical?thlds->critical->end:0, |
1456 | TRUE, 0, FALSE, 0); | 1456 | TRUE, 0, TRUE, socket_timeout); |
1457 | } | 1457 | } |
1458 | 1458 | ||
1459 | char *perfd_time_connect (double elapsed_time_connect) | 1459 | char *perfd_time_connect (double elapsed_time_connect) |
1460 | { | 1460 | { |
1461 | return fperfdata ("time_connect", elapsed_time_connect, "s", FALSE, 0, FALSE, 0, FALSE, 0, FALSE, 0); | 1461 | return fperfdata ("time_connect", elapsed_time_connect, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); |
1462 | } | 1462 | } |
1463 | 1463 | ||
1464 | char *perfd_time_ssl (double elapsed_time_ssl) | 1464 | char *perfd_time_ssl (double elapsed_time_ssl) |
1465 | { | 1465 | { |
1466 | return fperfdata ("time_ssl", elapsed_time_ssl, "s", FALSE, 0, FALSE, 0, FALSE, 0, FALSE, 0); | 1466 | return fperfdata ("time_ssl", elapsed_time_ssl, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); |
1467 | } | 1467 | } |
1468 | 1468 | ||
1469 | char *perfd_time_headers (double elapsed_time_headers) | 1469 | char *perfd_time_headers (double elapsed_time_headers) |
1470 | { | 1470 | { |
1471 | return fperfdata ("time_headers", elapsed_time_headers, "s", FALSE, 0, FALSE, 0, FALSE, 0, FALSE, 0); | 1471 | return fperfdata ("time_headers", elapsed_time_headers, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | char *perfd_time_firstbyte (double elapsed_time_firstbyte) | 1474 | char *perfd_time_firstbyte (double elapsed_time_firstbyte) |
1475 | { | 1475 | { |
1476 | return fperfdata ("time_firstbyte", elapsed_time_firstbyte, "s", FALSE, 0, FALSE, 0, FALSE, 0, FALSE, 0); | 1476 | return fperfdata ("time_firstbyte", elapsed_time_firstbyte, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); |
1477 | } | 1477 | } |
1478 | 1478 | ||
1479 | char *perfd_time_transfer (double elapsed_time_transfer) | 1479 | char *perfd_time_transfer (double elapsed_time_transfer) |
1480 | { | 1480 | { |
1481 | return fperfdata ("time_transfer", elapsed_time_transfer, "s", FALSE, 0, FALSE, 0, FALSE, 0, FALSE, 0); | 1481 | return fperfdata ("time_transfer", elapsed_time_transfer, "s", FALSE, 0, FALSE, 0, FALSE, 0, TRUE, socket_timeout); |
1482 | } | 1482 | } |
1483 | 1483 | ||
1484 | char *perfd_size (int page_len) | 1484 | char *perfd_size (int page_len) |