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

Multiple vhosts #6

Open
hsoares opened this issue Oct 9, 2015 · 2 comments
Open

Multiple vhosts #6

hsoares opened this issue Oct 9, 2015 · 2 comments

Comments

@hsoares
Copy link

hsoares commented Oct 9, 2015

Hey. Apologize for opening a issue when your script works perfectly. I would like to know if there's a simple way to adapt it to monitor multiple log files on the same server. I have an independent access log file per virtual host. Thanks.

@Krylon360
Copy link

You'll need to patch and compile Nginx with the extended_status_module.
It's not included with the default package.

Bryce Walter
On Oct 9, 2015 5:46 AM, "hsoares" [email protected] wrote:

Hey. Apologize for opening a issue when your script works perfectly. I
would like to know if there's a simple way to adapt it to monitor multiple
log files on the same server. I have an independent access log file per
virtual host. Thanks.


Reply to this email directly or view it on GitHub
#6.

@adubkov
Copy link
Owner

adubkov commented Oct 10, 2015

@hsoares you can just run several copies on that script and change path to the log file and to temp file(where it saves offset of log file) in each of them. This is the easiest way.

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

3 participants