Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[solved] check for existing drive in windows #167

airathere started this conversation in General
Discussion options

Hi all,

i would like to know if there is a possibility to check for a drive in windows, e.g. drive E:
As far as i can see there is a possibility for checking a drivesize or a file, but i have the problem, that the to be checked drive is somtimes empty (and has to be!) and a check against size or file is needless.

Thanks for any answer on this!
Joe

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

There is a check_mount. Maybe that one fits better. But you could also adjust the thresholds of check_drivesize.

You must be logged in to vote
2 replies
Comment options

Ah OK, i didn't expected, that check_mount is possible, because https://github.com/ConSol-Monitoring/snclient?tab=readme-ov-file#check-plugin-status shows no "X" (support) for check_mount under Windows?!

I tried it now and it works 👍

OMD[me@omd]:~$ check_nrpe -H 192.168.178.10 -S TLSv1.2+ -p 5666 -c check_mount -a mount=E:
CRITICAL - mount E: not mounted

So, all is fine - thank you very much for your help!

Comment options

sni Oct 18, 2024
Maintainer

Ah OK, i didn't expected, that check_mount is possible, because https://github.com/ConSol-Monitoring/snclient?tab=readme-ov-file#check-plugin-status shows no "X" (support) for check_mount under Windows?!

Thanks, missed that somehow. I added some more X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /