Invoke-IcingaCheckDiskHealth - Icinga Invalid Input Error was thrown: ConversionUnitMissing

Hello,
i have a set of windows terminal server with server 2022 os that i like to check with the mention plugin. These Server are virtual and have a normal C: drive.
Additionally these server get mounted many additional drives via microsoft fslogix. For each user two disks. These are get mounted and dismounted quite frequently.

I’ve played a lot with all the possible thresholds, but i alway get the error

Ausnahme beim Aufrufen von “WarnOutOfRange” mit 1 Argument(en): ": Icinga Invalid Input Error was thrown: ConversionUnitMissing

Unable to parse input value. You have to add an unit to your input value. Example: “10GB”. Allowed units are: “B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB”."

The executed command

'curl' '--verbose' '--tlsv1.2' '--fail-with-body' '--connect-to' 'vmtsde16.tim.de:5668:localhost:5668'
'--ciphers' 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256'
 '--cert' 'C:\ProgramData\icinga2\var\lib\icinga2/certs//vmtsde16.tim.de.crt' '--key' 'C:\ProgramData\icinga2\var\lib\icinga2/certs//vmtsde16.tim.de.key' '--cacert' 'C:\ProgramData\icinga2\var\lib\icinga2/certs//ca.crt' 
'--request' 'POST' '--url' 'https://vmtsde16.tim.de:5668/v1/checker?command=Invoke-IcingaCheckDiskHealth' '--user-agent' 'Icinga/v2.14.0' '--header' 'Accept: application/json' '--header' 'Content-Type: application/json' '--data-raw' 
'{"CheckLogicalOnly":true,"IgnoreOfflineDisks":true,"IgnoreReadOnlyDisks":true,"Verbosity":"3"}'

Maybe someone can help with that error.

Hi Christian,
I’ve the same problem (and same error message as well). Also Windows terminal servers (in my case it’s Server 2016 with Citrix) and we’re using FSLogix with only O365 containers.
My servers have more than one drive (with and without a driver letter), but my idea with limiting the disks which should be checked by the ceck didn’t worked out as well. (I tried it with the parameter IncludeDisk and disks 0, 1 and 2 because those are the non FSLogix ones.)

Additionally I saw, that sometimes the checks returns ok, but only without my disks and sometimes with my three disks. (But of course all disks are there all the time.)

Physical Disk Package: 4 Ok
_ Disk #_Total
_ _Total avg. disk queue length: 0.000283%
_ _Total avg. disk sec/read: 1ms
_ _Total avg. disk sec/transfer: 149us
_ _Total avg. disk sec/write: 136us
_ _Total current disk queue length: 0
_ _Total disk read bytes/sec: 231B
_ _Total disk reads/sec: 0.056508
_ _Total disk write bytes/sec: 20.25KiB
_ _Total disk writes/sec: 1.

Physical Disk Package: 4 Ok
_ Disk #_Total
_ _Total avg. disk queue length: 0.000248%
_ _Total avg. disk sec/read: 1ms
_ _Total avg. disk sec/transfer: 123us
_ _Total avg. disk sec/write: 108us
_ _Total current disk queue length: 0
_ _Total disk read bytes/sec: 235B
_ _Total disk reads/sec: 0.057411
_ _Total disk write bytes/sec: 21.77KiB
_ _Total disk writes/sec: 1.958713
_ Disk #0
_ 0 Assigned Partitions: C:
_ 0 avg. disk queue length: 0.000080%
_ 0 avg. disk sec/read: 0us
_ 0 avg. disk sec/transfer: 43us
_ 0 avg. disk sec/write: 43us
_ 0 current disk queue length: 0
_ 0 Device ID: \.\PHYSICALDRIVE0
_ 0 disk read bytes/sec: 0B
_ 0 disk reads/sec: 0
_ 0 disk write bytes/sec: 16.75KiB
_ 0 disk writes/sec: 1.840514
_ 0 Friendly Name: VMware Virtual disk
_ 0 Is Boot: True
_ 0 Is Offline: False
_ 0 Is ReadOnly: False
_ 0 Is System: False
_ 0 Media Type: HDD
_ 0 Operational Status
_ OK: No problems found
_ 0 Serial Number: XXX
_ Disk #1
_ 1 Assigned Partitions: 0
_ 1 avg. disk queue length: 0%
_ 1 avg. disk sec/read: 0us
_ 1 avg. disk sec/transfer: 0us
_ 1 avg. disk sec/write: 0us
_ 1 current disk queue length: 0
_ 1 Device ID: \.\PHYSICALDRIVE1
_ 1 disk read bytes/sec: 0B
_ 1 disk reads/sec: 0
_ 1 disk write bytes/sec: 0B
_ 1 disk writes/sec: 0
_ 1 Friendly Name: VMware Virtual disk
_ 1 Is Boot: False
_ 1 Is Offline: False
_ 1 Is ReadOnly: False
_ 1 Is System: False
_ 1 Media Type: HDD
_ 1 Operational Status
_ OK: No problems found
_ 1 Serial Number: XXX
_ Disk #2
_ 2 Assigned Partitions: D:
_ 2 avg. disk queue length: 0.000168%
_ 2 avg. disk sec/read: 1ms
_ 2 avg. disk sec/transfer: 1ms
_ 2 avg. disk sec/write: 1ms
_ 2 current disk queue length: 0
_ 2 Device ID: \.\PHYSICALDRIVE2
_ 2 disk read bytes/sec: 235B
_ 2 disk reads/sec: 0.057411
_ 2 disk write bytes/sec: 5.02KiB
_ 2 disk writes/sec: 0.118198
_ 2 Friendly Name: VMware Virtual disk
_ 2 Is Boot: False
_ 2 Is Offline: False
_ 2 Is ReadOnly: False
_ 2 Is System: False
_ 2 Media Type: HDD
_ 2 Operational Status
_ OK: No problems found
_ 2 Serial Number: XXX

I would like to correct my previous statement: Due to an error on my end, the IncludeDisk parameter was not included in the check for my Citrix workers.
After I fixed this, no more errors have occurred so far.
(The error also did not occur on a server without user logins and without the parameter).
It looks like the check has problems with temporary drives in such environments. (The drives are already automatically checked by script outside of Icinga, so I can safely ignore them in my case).

1 Like