-
Notifications
You must be signed in to change notification settings - Fork 14
Description
When using the new check_drive_io on Windows systems, I'm seeing that it doesn't appear to be picking up the C: drive at all, but does detect any other disks such as E: or F:.
To Reproduce
From Nagios, run the command check_drive_io against a server that has version 0.42. I've run a few examples here. Firstly, against a VM that only has a single drive:
./check_nrpe -H 10.1.1.250 -c check_drive_io
OK -
And, on a VM that has 3 x drives installed we see more of what we would expect, minus the C: drive:
./check_nrpe -H 10.1.1.99 -c check_drive_io
OK - E (%(label)) >%(write_bytes_rate_humanized) <%(read_bytes_rate_humanized) 0.0%, F (%(label)) >%(write_bytes_rate_humanized) <%(read_bytes_rate_humanized) 0.0% |'E_read_count'=39930080c;;;0 'E_read_bytes'=3194782899200c;;;0 'E_read_time'=8569655556.983701ms;;;0 'E_write_count'=9850045c;;;0 'E_write_bytes'=532356810240c;;;0 'E_write_time'=3815578629.0907ms;;;0 'E_utilization'=0%;95;;0 'E_queue_depth'=0;;;0 'F_read_count'=653906c;;;0 'F_read_bytes'=671960099840c;;;0 'F_read_time'=5901588.2482ms;;;0 'F_write_count'=19916253c;;;0 'F_write_bytes'=1851469408256c;;;0 'F_write_time'=48563676.6862ms;;;0 'F_utilization'=0%;95;;0 'F_queue_depth'=0;;;0
Expected behavior
The C: drive should be expected in results when not specifying any arguments to filter the drive list.
Software (please complete the following information):
I've managed to test this with Windows Server 2019 and 2022.