-
Notifications
You must be signed in to change notification settings - Fork 277
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
[storage::emc::datadomain::snmp::plugin] - mode(cleaning) : Bad status when is running #5339
Comments
Hello :) Thank you for your feedback. The plugin doesn't seem to take into account whether the cleaning last execution value is not a date. I'll have a look at what we can do :) (👍 for the debug OID it's perfect 👌 ) |
Yop ! Thanks for your reply ! :) |
Can you test this proposed fix? #5346 |
Some information from my team^^ I think it's important There is many step in the datadomain cleaning system. And, it's true, the "Copy" step is a step and in the output, we have the step description. See the differents steps: Pre-enumeration - enumerate the contents of the DDFS file system The copy moment is the fifth step. IMO, if you change the code to catch just the copy step, I'll be back ahah |
Ok sorry my bad I wrote the fix too fast, I take your feedback into account and push another fix on this PR |
I've modified the regex to catch :
Does it look better for you ? |
Awesome ! Thanks ! Ok for me :) |
Great I'll try to add this fix in the January release :) |
Hi all !
Quick description
When i use the storage::emc::datadomain::snmp::plugin plugin with cleaning mode, I see a CRITICAL when the cleaning is running.
How to reproduce
Please provide below the initial conditions to reproduce the bug
Expected result
OK: cleaning last execution: running | 'filesystems.cleaning.execution.last.days'=0d;0:192;0:215;0;
.1.3.6.1.4.1.19746.1.3.5.1.1.2.0 = Cleaning: phase 5 of 6 (copy)
Actual result
CRITICAL: cleaning last execution: never | 'filesystems.cleaning.execution.last.days'=-1d;0:192;0:215;0;
.1.3.6.1.4.1.19746.1.3.5.1.1.2.0 = Cleaning: phase 5 of 6 (copy)
Closing words
So when the cleaning is running, I shouldn't see a CRITICAL, but a OK status.
The text was updated successfully, but these errors were encountered: