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

Check reports tape device as CRITICAL on iDRAC9 #149

Closed
log1-c opened this issue Jan 10, 2025 · 10 comments
Closed

Check reports tape device as CRITICAL on iDRAC9 #149

log1-c opened this issue Jan 10, 2025 · 10 comments
Milestone

Comments

@log1-c
Copy link
Contributor

log1-c commented Jan 10, 2025

Hello :)
After updating to v1.9.0 the check now reports an attached tape device as critical with "media life left 0%".
image

According to the customer the tape device works as expected and there are no errors reported in the iDRAC interface.
image

Have you got any idea where this could originate from?
If necessary I can provide the (storage) inventory file for that host.

Cheers 😃

@bb-Ricardo
Copy link
Owner

Hi,

first of all, thank you for recommending this plugin in the SVA podcast 2 years ago. highly appreciate it.

It seems the device is not reported really well. A lot of attributes are missing/empty or set to default.

I guess for these cases I need to add an additional option to ignore the media lifetime value.

@log1-c
Copy link
Contributor Author

log1-c commented Jan 13, 2025

Excellent plugins should be shared 👍

In case you need the inventory files, just say so :)

@bb-Ricardo
Copy link
Owner

Hi,

Yes please. This would make it much easier to implement a fix.

Thank you.

@log1-c
Copy link
Contributor Author

log1-c commented Jan 13, 2025

@bb-Ricardo
Copy link
Owner

Hi @log1-c

I had a look and added a change which should fix your issue. Can you please check out the next-release brach and check if it works now?

Thank you

@log1-c
Copy link
Contributor Author

log1-c commented Jan 17, 2025

The output changed from

Image

to

Image

(media life removed). Also the tapes perfdata is gone, but the state of the check remains unchanged.

bb-Ricardo added a commit that referenced this issue Jan 17, 2025
@bb-Ricardo
Copy link
Owner

Hi @log1-c,

sorry for the inconvenience. It was late 😅.

I had it fixed for HPE specific drives and not all the others. I just pushed another commit. can you please check it out and see if this solves the issue now?

Thank you

@bb-Ricardo
Copy link
Owner

Sorry, I had to push another commit.

@log1-c
Copy link
Contributor Author

log1-c commented Jan 17, 2025

Looks good :)

Image

Image

@bb-Ricardo
Copy link
Owner

awesome, thanks for testing

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

No branches or pull requests

2 participants