diff options
Diffstat (limited to 'plugins/check_mrtgtraf.c')
-rw-r--r-- | plugins/check_mrtgtraf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index cdb50f3..d23b76d 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c | |||
@@ -179,14 +179,14 @@ main (int argc, char **argv) | |||
179 | (use_average == TRUE) ? _("Avg") : _("Max"), adjusted_incoming_rate, | 179 | (use_average == TRUE) ? _("Avg") : _("Max"), adjusted_incoming_rate, |
180 | incoming_speed_rating, (use_average == TRUE) ? _("Avg") : _("Max"), | 180 | incoming_speed_rating, (use_average == TRUE) ? _("Avg") : _("Max"), |
181 | adjusted_outgoing_rate, outgoing_speed_rating, | 181 | adjusted_outgoing_rate, outgoing_speed_rating, |
182 | perfdata("in", (long) adjusted_incoming_rate, incoming_speed_rating, | 182 | fperfdata("in", adjusted_incoming_rate, incoming_speed_rating, |
183 | (int) incoming_warning_threshold, (long) incoming_warning_threshold, | 183 | (int)incoming_warning_threshold, incoming_warning_threshold, |
184 | (int) incoming_critical_threshold, (long) incoming_critical_threshold, | 184 | (int)incoming_critical_threshold, incoming_critical_threshold, |
185 | TRUE, 0, TRUE, (long) incoming_speed_rating), | 185 | TRUE, 0, FALSE, 0), |
186 | perfdata("in", (long) adjusted_outgoing_rate, outgoing_speed_rating, | 186 | fperfdata("in", adjusted_outgoing_rate, outgoing_speed_rating, |
187 | (int) outgoing_warning_threshold, (long) outgoing_warning_threshold, | 187 | (int)outgoing_warning_threshold, outgoing_warning_threshold, |
188 | (int) outgoing_critical_threshold, (long) outgoing_critical_threshold, | 188 | (int)outgoing_critical_threshold, outgoing_critical_threshold, |
189 | TRUE, 0, TRUE, (long) outgoing_speed_rating)); | 189 | TRUE, 0, FALSE, 0)); |
190 | 190 | ||
191 | printf (_("Traffic %s - %s\n"), state_text(result), error_message); | 191 | printf (_("Traffic %s - %s\n"), state_text(result), error_message); |
192 | 192 | ||