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_drivesize - case sensitivity on Linux box #14

Closed
jframeau opened this issue May 31, 2023 · 2 comments
Closed

check_drivesize - case sensitivity on Linux box #14

jframeau opened this issue May 31, 2023 · 2 comments

Comments

@jframeau
Copy link
Contributor

When checking for /home (but any directory failed in fact but /), I get:

All 0 drive(s) are ok

I think this part of code is wrong:

for _, arg := range argList {
switch arg.key {
case "drive":
drives = append(drives, strings.Split(strings.ToUpper(arg.value), ",")...)
case "exclude":
excludes = append(excludes, strings.Split(strings.ToUpper(arg.value), ",")...)
}
}

as gopsutil returns current case.

jfr

@sni
Copy link
Contributor

sni commented Jun 1, 2023

The linux drivesize check is not yet completed, i added table here:
https://github.com/ConSol-Monitoring/snclient#implementation-status

@sni sni closed this as completed in ac2f1fc Jul 16, 2023
@sni
Copy link
Contributor

sni commented Jul 16, 2023

should be better now.

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