diff --git a/monitors/ufw.py b/monitors/ufw.py index 381db6c..3184d9e 100644 --- a/monitors/ufw.py +++ b/monitors/ufw.py @@ -11,6 +11,6 @@ class UFW: stream = os.popen('ufw status | grep "Status: active" | wc -l') output = stream.read() self.exporter.gauge("ufw.status", int(output)) - stream = os.popen('ufw status | grep -E '^[0-9]' | wc -l') + stream = os.popen("ufw status | grep -E '^[0-9]' | wc -l") output = stream.read() self.exporter.gauge("ufw.rules", int(output))