-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Ability to test ZED proper functioning #4511
Comments
This is something i would like to see as well. Maybe something like Another possibility is to force a failure by for example removing a drive in a raidz setup. |
We definitely want this ability so we can add additional test coverage which verifies the ZED. @don-brady may have some additional thoughts on this, but my current inclination is to extend |
Confirming that more testing is required for the ZED/zevent stack. We will be adding functional test as part of our ZED related work. Operations like auto-spare, auto-online, auto-replace should be validated start-to-finish during testing. Looks like there is an ask here for tools to help administrators in validating custom zedlet behavior. |
Closing. Test coverage for auto-spare, auto-online, auto-replace have all been added to the ZTS. We'll continue to extend the test coverage as needed. As for testing the ZED users can use |
I looked over the help page for zinject, but unfortunately all this stuff is quite a bit beyond me. Do you have an example command that I can use to test zed that won't break/panic my system? |
Try
|
When configuring ZED, admins need to be sure it will really trigger the desired alarm when a problem will occur months or years later.
There should be a way to trigger an fake event in order to check if the logs are written and/or if the email is received. This allow to validate the full chain from the event to the final tools used to monitor the health of ZFS.
The text was updated successfully, but these errors were encountered: