BaldMansMojo / check_vmware_esx

chech_vmware_esx Fork of check_vmware_api.pl
GNU General Public License v2.0
124 stars 67 forks source link

Option to ignore degraded storage LUNs #165

Open GalipoliX opened 4 years ago

GalipoliX commented 4 years ago

It would be great to have an option to ignore LUNs that are in state ok-degraded in select Storage subselect lun.

Background: On systems with iscsi disk that only have one path, vmware seems to report them as degraded.

image

But in this case this is totaly fine.

Thanks!

majales commented 4 years ago

Hi, I have experienced the same problem. It is only reported as ok-degraded in systems with multiple storage paths. Systems with single path are OK. So please, would you implement this option to ignore ok-degraded luns? Thank you.

BaldMansMojo commented 2 years ago

Sorry for the late answer. Give me please the check command. I can't reproduce it. Normally this only happens when multipathing is configured but there is only on path available.