diff options
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r-- | plugins/check_dig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index e348a352..9e1d8479 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -151,11 +151,11 @@ main (int argc, char **argv) | |||
151 | 151 | ||
152 | printf ("DNS %s - %s|%s\n", | 152 | printf ("DNS %s - %s|%s\n", |
153 | state_text (result), output, | 153 | state_text (result), output, |
154 | perfdata("time", microsec, "us", | 154 | fperfdata("time", elapsed_time, "s", |
155 | (warning_interval>UNDEFINED?TRUE:FALSE), | 155 | (warning_interval>UNDEFINED?TRUE:FALSE), |
156 | (int)(1e6*warning_interval), | 156 | warning_interval, |
157 | (critical_interval>UNDEFINED?TRUE:FALSE), | 157 | (critical_interval>UNDEFINED?TRUE:FALSE), |
158 | (int)(1e6*critical_interval), | 158 | critical_interval, |
159 | TRUE, 0, FALSE, 0)); | 159 | TRUE, 0, FALSE, 0)); |
160 | return result; | 160 | return result; |
161 | } | 161 | } |