From f9c30524f664eb13bcf978775241332a260c8b03 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Fri, 21 Apr 2023 23:54:20 -0600 Subject: [PATCH] oops --- check_opnsense_traffic_for_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_opnsense_traffic_for_host.py b/check_opnsense_traffic_for_host.py index f68b07b..12cc22d 100755 --- a/check_opnsense_traffic_for_host.py +++ b/check_opnsense_traffic_for_host.py @@ -98,7 +98,7 @@ def main(): ok.append(name) status = '[OK]' - perf_data.append(f'{name}-rate_in={filesize(data["rate_in"], spaces=False)};{warn_value};{crit_value};0; ') + perf_data.append(f'{name}-rate_in={filesize(data["rate_in"], spaces=False)};{warn_value};{crit_value};0;') perf_data.append(f'{name}-rate_out={filesize(data["rate_out"], spaces=False)};{warn_value};{crit_value};0;') perf_data.append(f'{name}-cumulative_in={filesize(data["cumulative_in"], spaces=False)};{warn_value};{crit_value};0;') perf_data.append(f'{name}-cumulative_out={filesize(data["cumulative_out"], spaces=False)};{warn_value};{crit_value};0;')