Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/nginx/nginx_byprojects/README.md | ||
|---|---|---|
| 2 | 2 |
Those plugins are used to monitor different projects or vhost (i.e. either different log files or using regular expression as filters) on the same web server. |
| 3 | 3 |
|
| 4 | 4 |
## munin_byprojects_access |
| 5 |
Count the number of hits per projects/vhost.
|
|
| 5 |
Count the number of hits per projects/vhost. |
|
| 6 | 6 |
 |
| 7 | 7 |
|
| 8 | 8 |
## munin_byprojects_bandwidth |
| 9 |
Count the total bandwidth used by each projects/vhost. [Logtail](https://www.fourmilab.ch/webtools/logtail/) is required.
|
|
| 9 |
Count the total bandwidth used by each projects/vhost. [Logtail](https://www.fourmilab.ch/webtools/logtail/) is required. |
|
| 10 | 10 |
 |
| 11 | 11 |
|
| 12 | 12 |
## munin_byprojects_inout_bandwidth |
| 13 |
Counts the in/out bandwidth used by each projects/vhost. [Logtail](https://www.fourmilab.ch/webtools/logtail/) is required.
|
|
| 13 |
Counts the in/out bandwidth used by each projects/vhost. [Logtail](https://www.fourmilab.ch/webtools/logtail/) is required. |
|
| 14 | 14 |
 |
| 15 | 15 |
|
| 16 | 16 |
## Installation |
| 17 | 17 |
The setup is pretty straight forward. First you need to configure the plugin: |
| 18 | 18 |
|
| 19 |
In your munin plugin configuration file (for example, a new dedicated /etc/munin/plugin-conf.d/nginx_byprojects), configure the plugins :
|
|
| 19 |
In your munin plugin configuration file (for example, a new dedicated /etc/munin/plugin-conf.d/nginx_byprojects), configure the plugins:
|
|
| 20 | 20 |
|
| 21 | 21 |
[byprojects_*] |
| 22 | 22 |
env.logtail /usr/local/bin/logtail |
| ... | ... | |
| 35 | 35 |
ln -s /usr/local/sbin/<plugin> /usr/local/etc/munin/plugins/<plugin> |
| 36 | 36 |
|
| 37 | 37 |
And restart the munin-node service. |
| 38 |
|
|
| 38 |
|
|
| 39 | 39 |
## License |
| 40 | 40 |
MIT |
Formats disponibles : Unified diff