aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 328fc5f4..309c65b7 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -212,8 +212,9 @@ main (int argc, char **argv)
else
multi_address = TRUE;
- printf (_("DNS ok - %.3f seconds response time, address%s %s|time=%ldus\n"),
- elapsed_time, (multi_address==TRUE ? "es are" : " is"), address, microsec);
+ printf (_("DNS ok - %.3f seconds response time, address%s %s|%s\n"),
+ elapsed_time, (multi_address==TRUE ? "es are" : " is"), address,
+ perfdata ("time", microsec, "us", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
}
else if (result == STATE_WARNING)
printf (_("DNS WARNING - %s\n"),