Skip to content

Add option to ignore failed fans#180

Open
odenbach wants to merge 2 commits into
glensc:masterfrom
odenbach:tw-cli-no-fans
Open

Add option to ignore failed fans#180
odenbach wants to merge 2 commits into
glensc:masterfrom
odenbach:tw-cli-no-fans

Conversation

@odenbach

Copy link
Copy Markdown
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

glensc commented Dec 5, 2018

Copy link
Copy Markdown
Owner

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.

2 participants