Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to ignore failed fans #180

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

odenbach
Copy link
Contributor

Hi,

I have a box with some fans in it which are connected to the mainboard instead of the enclosure. The mainboard reports all fans as working properly. tw-cli however reports the fans as failed (as they are not connected). I reported this to the manufacturer and they told me to simply ignore the fan warnings in tw-cli's output.

So this pull request adds a simple plugin option 'ignore-fans=1' which then disables checking of fans (and of the main enclosure status which goes to WARNING if anything seems b0rken).

Thanks,

Christopher
tw-cli.txt

@glensc
Copy link
Owner

glensc commented Dec 5, 2018

can you add test case for new scenarios?

and add documentation of the option in the plugin file as pod so check_raid users would be aware of the new option.

as no other plugin has documentation in pod, use your imagination

@glensc glensc added the tw_cli label Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants