-
Notifications
You must be signed in to change notification settings - Fork 84
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
dm: detect if raid devices present #172
Conversation
without updated sudo rules (because dm is not active), this would yield sudo warnings, but does not affect exit code:
|
some alternative solution to avoid sudo errors:
this way the plugin won't produce sudo warnings on stderr (some nagios versions include stderr in plugin output afaik)
|
to create test env for lvm-dm tests, follow this note: #130 (comment)
to remove those devices:
|
nagios should ignore stderr from output #88 (comment) #88 (comment)
made sudo less noisy if sudo rules not present: 9552372
|
i think this is better what is out there now. so merging |
some users report that such approach is still not good. sudo will spam root mail about unmatched sudo accesses:
|
Fixes: #138, #158, #142, #170
Existing systems having dm active:
Existing systems having dm inactive (no raids present):