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

fixed problem getting UNKNOWN state for checking the status of a … #4

Closed
wants to merge 1 commit into from

Conversation

HardTy
Copy link

@HardTy HardTy commented Aug 27, 2018

…Storagedomain

See issue: #3
I checked the if-statement of the check_rhev3.pl version and change the line:

https://github.com/HardTy/check_rhv/blob/0164eb441e18ce215f0e9c32e3dc4b4cf2ab6492/plugin-dir/check_rhv.pl#L742

In my tests the check works with this change.
Sorry my editor removed some spaces at the end of lines.

Regards,
René

@scrat14
Copy link

scrat14 commented Sep 3, 2018

Thanks a lot for the patch - please let me verify it on my RHV 4.1 environment.

@scrat14 scrat14 self-assigned this Sep 3, 2018
@HardTy
Copy link
Author

HardTy commented Sep 3, 2018

I'm not sure there might be a better solution. I don't know much about Perl.

@scrat14
Copy link

scrat14 commented Oct 19, 2018

Sorry, I have to reject the pull request as it's not possible to get the status of a storage domain. You can only check it via a datacenter. When applying the code, non attached storage domains would be in OK state, which makes the whole status check unnecessary, as it can't reach a non-OK state.

@scrat14 scrat14 closed this Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants