mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-09-19 09:03:20 +00:00
small update of README.md
* reflects changes of @ssm (commit c4c0a9872c
, 5 Oct 2014)
* added path and command examples for installation
This commit is contained in:
parent
323b4a7937
commit
c4e1760c5a
1 changed files with 5 additions and 6 deletions
|
@ -7,14 +7,13 @@ to adapt to the XML output of Varnish 4 varnishstat.
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
- Copy varnish4_ to the Munin plugins directory
|
- Copy `varnish4_` to the Munin plugins directory (`/usr/share/munin/plugins/`)
|
||||||
- Replace @@PERL@@ with the path to the perl executable
|
- Make varnish_ runnable (`chmod +x /usr/share/munin/plugins/varnish_`)
|
||||||
- Make varnish_ runnable
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Run ``munin-node-configure --shell`` and link the aspects to monitor to
|
Run `munin-node-configure --shell` and link the aspects to monitor to
|
||||||
your actual plugins directory.
|
your actual plugins directory.
|
||||||
|
|
||||||
In your plugins.conf add
|
In your plugins.conf add
|
||||||
|
@ -23,9 +22,9 @@ In your plugins.conf add
|
||||||
env.varnishstat varnishstat
|
env.varnishstat varnishstat
|
||||||
env.name
|
env.name
|
||||||
```
|
```
|
||||||
``env.varnishstat`` can be a full path to varnishstat if it's
|
`env.varnishstat` can be a full path to varnishstat if it's
|
||||||
not in the path already.
|
not in the path already.
|
||||||
|
|
||||||
``env.name`` is blank (undefined) by default and can be used to specify a -n
|
`env.name` is blank (undefined) by default and can be used to specify a -n
|
||||||
name argument to varnish if multiple instances are running on the same
|
name argument to varnish if multiple instances are running on the same
|
||||||
server.
|
server.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue