@cryptotaxi247 / netdata-1 / commits / 8c40989ed

megacli: add module python.d README

lgz committed Jul 6, 2018 at 17:07 UTC 8c40989ed437b05f45dcdf4c8d23787ce691320c
1 file changed +29
python.d/README.md
+29
@@ -1114,6 +1114,35 @@ is currently disabled by default, and needs to be explicitly enabled in
1114
1115 ---
1116
1117 +# megacli
1118 +
1119 +Module collects adapter, physical drives and battery stats.
1120 +
1121 +**Requirements:**
1122 + * `netdata` user needs to be able to be able to sudo the `megacli` program without password
1123 +
1124 +To grab stats it following executes:
1125 + * `sudo -n megacli -LDPDInfo -aAll`
1126 + * `sudo -n megacli -AdpBbuCmd -a0`
1127 +
1128 +
1129 +It produces:
1130 +
1131 +1. **Adapter State**
1132 +
1133 +2. **Physical Drives Media Errors**
1134 +
1135 +3. **Physical Drives Predictive Failures**
1136 +
1137 +4. **Battery Relative State of Charge**
1138 +
1139 +5. **Battery Cycle Count**
1140 +
1141 +### configuration
1142 +Battery stats disabled by default in the module configuration file.
1143 +
1144 +---
1145 +
1146 # mdstat
1147
1148 Module monitor /proc/mdstat