Merge pull request #1 from antiguru/set_user

Add documentation to run specific plugins as root
This commit is contained in:
Babak Farrokhi 2017-06-21 20:19:06 +04:30 committed by GitHub
commit 4c89a0baab
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