aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>2017-01-25 14:44:41 +0000
committerPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>2017-02-07 09:43:24 +0000
commit4727c087116dcaafa23376a8ba5cef686cb73a1a (patch)
tree1feb9a12e92f85b991b9cf77de2b9d3842a3ed27 /src
parent26fcc6ce073e875cdd23c0d6310f38ac76b86b7b (diff)
src: add mcelog sample config
Change-Id: Ifdb7677cf175a5b1a213c4699fd2d658eac11c69 Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/collectd/collectd_sample_configs/mcelog.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/collectd/collectd_sample_configs/mcelog.conf b/src/collectd/collectd_sample_configs/mcelog.conf
new file mode 100644
index 0000000..649573d
--- /dev/null
+++ b/src/collectd/collectd_sample_configs/mcelog.conf
@@ -0,0 +1,20 @@
+# Copyright 2017 OPNFV
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+<LoadPlugin mcelog>
+ Interval 1
+</LoadPlugin>
+
+<Plugin mcelog>
+ McelogClientSocket "/var/run/mcelog-client"
+</Plugin>