mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2025-01-03 11:42:10 +01:00
Makefile: configurable set of plugins
The Makefile variable "PLUGINS" may be specified on the command line in order to pick specific plugins: make PLUGINS="cpu load uptime"
This commit is contained in:
parent
936ac8199c
commit
0cf51803a3
2 changed files with 6 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
PLUGINS = df cpu if_ if_err_ load memory processes swap netstat uptime interrupts irqstats ntpdate plugindir_
|
PLUGINS ?= df cpu if_ if_err_ load memory processes swap netstat uptime interrupts irqstats ntpdate plugindir_
|
||||||
CONFIGURATION_FILE ?= munin-node.conf
|
CONFIGURATION_FILE ?= munin-node.conf
|
||||||
INPUT_FILE ?= munin-node.in
|
INPUT_FILE ?= munin-node.in
|
||||||
TARGET_FILE ?= munin-node
|
TARGET_FILE ?= munin-node
|
||||||
|
|
|
@ -44,13 +44,17 @@ Requirements
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
Download source and unpack it.
|
Download source and unpack it.
|
||||||
Edit Makefile to suit your choice of plugins
|
|
||||||
|
|
||||||
Assemble the munin-node shell script by running `make`:
|
Assemble the munin-node shell script by running `make`:
|
||||||
```shell
|
```shell
|
||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You may assemble a reduced script by including only specific plugins:
|
||||||
|
```shell
|
||||||
|
$ make PLUGINS="cpu load uptime"
|
||||||
|
```
|
||||||
|
|
||||||
Copy munin-node to a suitable location (/usr/local/bin/) and make it
|
Copy munin-node to a suitable location (/usr/local/bin/) and make it
|
||||||
executable (there will be a "make install" at a later release)
|
executable (there will be a "make install" at a later release)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue