summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/web_log/web_log.chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/python.d.plugin/web_log/web_log.chart.py')
-rw-r--r--collectors/python.d.plugin/web_log/web_log.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/web_log/web_log.chart.py b/collectors/python.d.plugin/web_log/web_log.chart.py
index fa5a8bc3e..c1e1dcfbb 100644
--- a/collectors/python.d.plugin/web_log/web_log.chart.py
+++ b/collectors/python.d.plugin/web_log/web_log.chart.py
@@ -867,7 +867,7 @@ class Web:
:return:
"""
code_class = code[0]
- if code_class == '2' or code == '304' or code_class == '1':
+ if code_class == '2' or code == '304' or code_class == '1' or code == '401':
self.data['successful_requests'] += 1
elif code_class == '3':
self.data['redirects'] += 1