Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zbx_nginx_stats.py isn't outputting #15

Open
MohannadSwaid opened this issue Jan 5, 2017 · 0 comments
Open

zbx_nginx_stats.py isn't outputting #15

MohannadSwaid opened this issue Jan 5, 2017 · 0 comments

Comments

@MohannadSwaid
Copy link

hi I'm running the provide zbx_nginx_stats.py script but I'm getting the following output
I have followed the installation instructions excatly with no luck

Traceback (most recent call last):
File "./zbx_nginx_stats.py", line 176, in
data = parse_nginx_stat(data)
File "./zbx_nginx_stats.py", line 103, in parse_nginx_stat
a['accepted_connections'] = re.match(r'\s(\d*)\s(\d*)\s(\d*)', data[2], re.M | re.I).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant