summaryrefslogtreecommitdiffstats
path: root/src/fan/README
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-07-23 12:41:11 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-07-23 12:41:11 +0200
commit7bc4421f26954c2acd817c690cbbde03a4391878 (patch)
tree85bd87c085bab9fe8bf8c62ee8e41f95d283e977 /src/fan/README
parent8061ba1c48f6b8448a458d1919cd6520e2e4a658 (diff)
downloadopenlmi-providers-7bc4421f26954c2acd817c690cbbde03a4391878.tar.gz
openlmi-providers-7bc4421f26954c2acd817c690cbbde03a4391878.tar.xz
openlmi-providers-7bc4421f26954c2acd817c690cbbde03a4391878.zip
Move all providers to src/ directory
Diffstat (limited to 'src/fan/README')
-rw-r--r--src/fan/README42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/fan/README b/src/fan/README
new file mode 100644
index 0000000..bf226a5
--- /dev/null
+++ b/src/fan/README
@@ -0,0 +1,42 @@
+*******************************************************************************
+ * Description
+*******************************************************************************
+CIM Linux_Fan providers for sfcb. Specific for linux, because of usage of
+lm_sensors library for hadware monitoring of fans. It uses CMPI, so
+it should be usable under any broker supporting this interface.
+
+There are three providers provided according to CIM model:
+ * Linux_Fan
+ - Provides instance for every fan founded by lm_sensors with basic
+ information.
+ * Linux_FanSensor
+ - Associated sensor for each instance of Linux_Fan.
+ - Value of fan speed can be obtained from property CurrentReading.
+ * Linux_FanAssociatedSensor
+ - Provides association of instances of above 2 providers.
+
+*******************************************************************************
+ * Build Dependencies
+*******************************************************************************
+ * lm_sensors - installed and configured
+ * lm_sensors-libs
+ * lm_sensors-devel
+ * sblim-cmpi-devel
+ * sblim-cmpi-base
+ * sblim-cmpi-base-devel (for library cmpiOSBase_Common)
+
+*******************************************************************************
+ * Build and installation (for sfcb)
+*******************************************************************************
+steps:
+ * make
+ * make install
+
+alternatively:
+ * make
+ * install *.so libraries to your cmpi libdir
+ * sfcbstage -r mof/Linux_Fan.reg mof/Linux_Fan.mof
+ * sfcbrepos -f
+
+and restart broker:
+ systemctl restart sfcb.service