Collectd: Difference between revisions
(Created page with " == Installation == = Configuration = = Controlling Lighttpd = == Start lighttpd == After the installation collectd is not running. To start collectd, use ''start''. {...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | |||
= Installation = | |||
{{Cmd|apk add collectd}} | |||
= Configuration = | = Configuration = | ||
= Controlling | = Controlling Collectd = | ||
== Start collectd == | |||
== Start | |||
After the installation collectd is not running. To start collectd, use ''start''. | After the installation collectd is not running. To start collectd, use ''start''. | ||
Line 18: | Line 18: | ||
<pre> | <pre> | ||
* Starting collectd ... [ ok ] | |||
* Starting | |||
</pre> | </pre> | ||
Alternatively you can also run collectd directly, from <code>/usr/sbin/collectd</code> | |||
== Stop collectd == | == Stop collectd == | ||
Line 37: | Line 38: | ||
{{Cmd|rc-update add collectd default}} | {{Cmd|rc-update add collectd default}} | ||
<pre> | |||
* service collectd added to runlevel default | |||
</pre> | |||
= Checking = | = Checking = |
Latest revision as of 16:45, 21 December 2016
This material is work-in-progress ... Do not follow instructions here until this notice is removed. |
Installation
apk add collectd
Configuration
Controlling Collectd
Start collectd
After the installation collectd is not running. To start collectd, use start.
rc-service collectd start
You will get a feedback about the status.
* Starting collectd ... [ ok ]
Alternatively you can also run collectd directly, from /usr/sbin/collectd
Stop collectd
If you want to stop the server use stop.
rc-service collectd stop
Restart collectd
After changing the configuration file collectd needs to be restarted.
rc-service collectd restart
Runlevel
Normally you want to start the collectd server when the system is launching. This is done by adding collectd to the needed runlevel.
rc-update add collectd default
* service collectd added to runlevel default