src: add mcelog sample config 03/28203/1
authorPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Wed, 25 Jan 2017 14:44:41 +0000 (14:44 +0000)
committerPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Tue, 7 Feb 2017 09:43:24 +0000 (09:43 +0000)
Change-Id: Ifdb7677cf175a5b1a213c4699fd2d658eac11c69
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
src/collectd/collectd_sample_configs/mcelog.conf [new file with mode: 0644]

diff --git a/src/collectd/collectd_sample_configs/mcelog.conf b/src/collectd/collectd_sample_configs/mcelog.conf
new file mode 100644 (file)
index 0000000..649573d
--- /dev/null
@@ -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>