I'm trying to check the free space on a Windows PC drive
On Ubuntu-PC, I run:
Code: Select all
#./check_nrpe -H windows-pc-host -p5667
> I (0.5.2.35 2018-01-28) seem to be doing fine ...
I conclude that everything is probably fine and that it works.
I run:
Code: Select all
#./check_nt -H windows-pc-host -p5667 -s 'SuperSecretPassword' -v USEDDISKSPACE -l c -w 90 -c 95
> Free disk space: Invalid drive
However, even if I write this command with the wrong password, the output will be the same.
What am I doing wrong?
P.S.
I also tried through check_nrpe:
Code: Select all
#./check_nrpe -H windows-pc-host -p 5667 -c check_drivesize -a drive=C: 'warning=used>90%' 'critical=used>95%' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${used_pct}% used / ${size} total}' top-syntax='${status}: ${problem_list}'
> Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).