-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ok sthen@ (MAINTAINER) robert@
- Loading branch information
Showing
4 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
Install p5-Net-SNMP to use the optional SNMP-based monitors. | ||
|
||
To have munin-node start at boot time, you should create symlinks | ||
in ${SYSCONFDIR}/munin/plugins as described in the manual (manually or | ||
Before starting munin-node, you should create symlinks in | ||
${SYSCONFDIR}/munin/plugins as described in the manual (manually or | ||
using the output from munin-node-configure --shell), adapt | ||
${SYSCONFDIR}/munin/munin-node.conf if necessary (e.g. if a remote server | ||
will query this node), and insert the following into /etc/rc.local: | ||
|
||
if [ -x ${PREFIX}/sbin/munin-node ]; then | ||
install -d -o _munin /var/run/munin | ||
echo -n ' munin-node'; ${PREFIX}/sbin/munin-node | ||
fi | ||
${SYSCONFDIR}/munin/munin-node.conf if necessary (e.g. if a remote | ||
server will query this node). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
. /etc/rc.d/rc.subr | ||
|
||
daemon="${TRUEPREFIX}/sbin/munin-node" | ||
pexp="perl: ${daemon}" | ||
|
||
rc_pre() { | ||
install -d -o _munin /var/run/munin | ||
} | ||
|
||
rc_cmd $1 |