diff --git a/es_cmsrep_apache.py b/es_cmsrep_apache.py index 8a48f98b382f..0bc3f01e80de 100755 --- a/es_cmsrep_apache.py +++ b/es_cmsrep_apache.py @@ -9,7 +9,7 @@ def process (line, count): for agent in LOGWATCH_APACHE_IGNORE_AGENTS: - if argent in line: return True + if agent in line: return True payload = {} items = line.split(" ") if len(items)<12: return True diff --git a/es_cmssdt_apache.py b/es_cmssdt_apache.py index 4d0f0363f49b..1146893258ac 100755 --- a/es_cmssdt_apache.py +++ b/es_cmssdt_apache.py @@ -10,7 +10,7 @@ def process (line, count): for agent in LOGWATCH_APACHE_IGNORE_AGENTS: - if argent in line: return True + if agent in line: return True payload = {} items = line.split(" ") if len(items)<10: return True diff --git a/es_doxygen_apache.py b/es_doxygen_apache.py index 2a472c935305..fa2ade91e710 100644 --- a/es_doxygen_apache.py +++ b/es_doxygen_apache.py @@ -10,7 +10,7 @@ def process (line, count): for agent in LOGWATCH_APACHE_IGNORE_AGENTS: - if argent in line: return True + if agent in line: return True payload = {} items = line.split(" ") if len(items)<10: return True