Add documentation to run specific plugins as root

Signed-off-by: Moritz Hoffmann <moritz.hoffmann@inf.ethz.ch>
This commit is contained in:
Moritz Hoffmann 2017-06-21 17:34:14 +02:00
parent 55b320fe36
commit 758988ebee
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Copyright (c) 2016, Babak Farrokhi Copyright (c) 2017, Babak Farrokhi, Moritz Hoffmann
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

View File

@ -11,7 +11,11 @@ A set of FreeBSD specific plugins for Munin
- You need to install `lang/gawk` in order to run `intr_` plugin. - You need to install `lang/gawk` in order to run `intr_` plugin.
- You need to install `sysutils/ipmitool` in order to run `ipmi_` plugin. - You need to install `sysutils/ipmitool` in order to run `ipmi_` plugin.
- These are wildcard plugins, and should be installed using `munin-node-configure` program - These are wildcard plugins, and should be installed using `munin-node-configure` program
- Some plugins such as `ipmi_` and `multiping_` need to have root access to run. - Some plugins such as `pf_`, `ipmi_` and `multiping_` need to have root access to run. To tell Munin to run a plugin as root, adapt the following snippet and add it to `/usr/local/etc/munin/plugin-conf.d/plugins.conf`:
```
[pf_*]
user root
```
## Setup ## Setup
1. Make sure `sysutils/munin-node` is installed 1. Make sure `sysutils/munin-node` is installed