...
Code Block |
---|
$ cd $HOME/clct |
Edit etc/collectd.conf to include:
Code Block |
---|
LoadPlugin my_plugin LoadPlugin logfile <Plugin logfile> LogLevel debug File STDOUT Timestamp true PrintSeverity false </Plugin> <Plugin my_plugin> Option1 true Option2 “example” </Plugin> |
Run collectd:
Code Block |
---|
sbin/collectd -f -C etc/collectd.conf |
Extra Challenge:
- Try to add a double plugin configuration option and read it in with: cf_util_get_double
- Write the configuration parameters to the collectd logfile
...