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

Can't specify config #22

Closed
parkr opened this issue Mar 25, 2014 · 0 comments
Closed

Can't specify config #22

parkr opened this issue Mar 25, 2014 · 0 comments

Comments

@parkr
Copy link

parkr commented Mar 25, 2014

I run a CentOS 6.3 box with nginx installed into /opt/nginx and there doesn't seem to be a way to specify where my conf file is, like there is to specify where my log file is.

Traceback (most recent call last):
  File "/usr/bin/ngxtop", line 9, in <module>
    load_entry_point('ngxtop==0.0.1', 'console_scripts', 'ngxtop')()
  File "/usr/lib/python2.6/site-packages/ngxtop/ngxtop.py", line 446, in main
    process(args)
  File "/usr/lib/python2.6/site-packages/ngxtop/ngxtop.py", line 409, in process
    access_log, log_format = extract_nginx_conf(config, access_log)
  File "/usr/lib/python2.6/site-packages/ngxtop/ngxtop.py", line 142, in extract_nginx_conf
    with open(path) as conf_file:
IOError: [Errno 2] No such file or directory: '/etc/nginx/nginx.conf'
@parkr parkr closed this as completed Jun 16, 2015
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