collectd: add missing config files for plugins
Add missing config files for plugins from collectd-5.8.1-4.el7.src.rpm Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
parent
1fe5b667d1
commit
de48a2da26
@ -1,8 +1,24 @@
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += "file://collectd-fix-for-LIBPYTHON_LDFLAGS.patch"
|
||||
SRC_URI += " \
|
||||
file://collectd-fix-for-LIBPYTHON_LDFLAGS.patch \
|
||||
file://default-plugins-cpu.conf \
|
||||
file://default-plugins-interface.conf \
|
||||
file://default-plugins-load.conf \
|
||||
file://default-plugins-memory.conf \
|
||||
file://default-plugins-syslog.conf \
|
||||
"
|
||||
|
||||
PACKAGECONFIG += "python"
|
||||
|
||||
PACKAGECONFIG[python] = "--enable-python --with-libpython,--disable-python --with-libpython=no,python"
|
||||
|
||||
do_install_append () {
|
||||
install -m 755 -d ${D}${sysconfdir}/collectd.d/
|
||||
install -m 644 ${WORKDIR}/default-plugins-cpu.conf ${D}${sysconfdir}/collectd.d/90-default-plugins-cpu.conf
|
||||
install -m 644 ${WORKDIR}/default-plugins-interface.conf ${D}${sysconfdir}/collectd.d/90-default-plugins-interface.conf
|
||||
install -m 644 ${WORKDIR}/default-plugins-load.conf ${D}${sysconfdir}/collectd.d/90-default-plugins-load.conf
|
||||
install -m 644 ${WORKDIR}/default-plugins-memory.conf ${D}${sysconfdir}/collectd.d/90-default-plugins-memory.conf
|
||||
install -m 644 ${WORKDIR}/default-plugins-syslog.conf ${D}${sysconfdir}/collectd.d/90-default-plugins-syslog.conf
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
LoadPlugin cpu
|
@ -0,0 +1 @@
|
||||
LoadPlugin interface
|
@ -0,0 +1 @@
|
||||
LoadPlugin load
|
@ -0,0 +1 @@
|
||||
LoadPlugin memory
|
@ -0,0 +1 @@
|
||||
LoadPlugin syslog
|
Loading…
Reference in New Issue
Block a user