summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0644b39)
raw | patch | inline | side by side (parent: 0644b39)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 28 Aug 2003 03:53:52 +0000 (03:53 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 28 Aug 2003 03:53:52 +0000 (03:53 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@703 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_dns.c | patch | blob | history |
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 328fc5f40a58e60d60000fa3458d560078275b33..309c65b7ca04344f6601c3e3d9c552f809e00d8e 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
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"),