summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_tcp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index a660649..c105c6a 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -332,7 +332,11 @@ main (int argc, char **argv)
332 if (status && strlen(status) > 0) 332 if (status && strlen(status) > 0)
333 printf (" [%s]", status); 333 printf (" [%s]", status);
334 334
335 printf ("|time=%ldus\n", microsec); 335 printf (" |%s\n", perfdata ("time", microsec, "us",
336 TRUE, warning_time*1000,
337 TRUE, critical_time*1000,
338 TRUE, 0,
339 TRUE, socket_timeout*1000));
336 340
337 return result; 341 return result;
338} 342}