Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

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
![byproject_access](https://www.mantor.org/~northox/misc/munin-plugins/nginx_byprojects_access1-month.png "byproject_access")
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
![byproject_bandwidth](https://www.mantor.org/~northox/misc/munin-plugins/apache_byprojects_bandwidth-month.png "byproject_bandwidth")
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
![byproject_inout_bandwidth](https://www.mantor.org/~northox/misc/munin-plugins/apache_byprojects_inout_bandwidth-month.png "byproject_inout_bandwidth")
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