diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index ac43a0c..e22856d 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -162,7 +162,16 @@ main (int argc, char **argv) | |||
162 | state_text (this_result), warn_text, pl, rta); | 162 | state_text (this_result), warn_text, pl, rta); |
163 | if (display_html == TRUE) | 163 | if (display_html == TRUE) |
164 | printf ("</A>"); | 164 | printf ("</A>"); |
165 | printf ("\n"); | 165 | |
166 | /* Print performance data */ | ||
167 | printf("|%s", fperfdata ("rta", (double) rta, "ms", | ||
168 | wrta>0?TRUE:FALSE, wrta, | ||
169 | crta>0?TRUE:FALSE, crta, | ||
170 | TRUE, 0, FALSE, 0)); | ||
171 | printf(" %s\n", perfdata ("pl", (long) pl, "%", | ||
172 | wpl>0?TRUE:FALSE, wpl, | ||
173 | cpl>0?TRUE:FALSE, cpl, | ||
174 | TRUE, 0, FALSE, 0)); | ||
166 | 175 | ||
167 | if (verbose >= 2) | 176 | if (verbose >= 2) |
168 | printf ("%f:%d%% %f:%d%%\n", wrta, wpl, crta, cpl); | 177 | printf ("%f:%d%% %f:%d%%\n", wrta, wpl, crta, cpl); |