megacli: prevent crash when drive temperature is N/A

Intel SSD do not report their temperature in MegaCLI output
Drive Temperature : N/A
This commit is contained in:
Alexis Letessier 2015-07-25 16:45:45 +02:00
commit 0028abc077
4 changed files with 41 additions and 9 deletions

3
collector/fixtures/megacli Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cat fixtures/megacli_disks.txt