mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Plugin monit_parser: fix style issues
This commit is contained in:
parent
417bebc316
commit
7f3ce96632
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ MONIT_XML_URL = ("http://{host}:{port}/_status?format=xml"
|
||||||
|
|
||||||
|
|
||||||
def sanitize(s):
|
def sanitize(s):
|
||||||
OK_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789"
|
ok_chars = "abcdefghijklmnopqrstuvwxyz0123456789"
|
||||||
return "".join([char for char in s if char in OK_CHARS])
|
return "".join([char for char in s if char in ok_chars])
|
||||||
|
|
||||||
|
|
||||||
def get_monit_status_xml():
|
def get_monit_status_xml():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue