im trying to set up different thresholds for different disks on a windows machine.
Example:
C:\ < 10% = crit
D:\ <5% = crit
and so on.
The only way i can see, is to create a different check, for every disk, is this correct?
And im not sure, if there is an argument to do this for every Disk? I have tried -p but it seems not to work.
Im using the disk-windows check and director.
AFAIK you can not do this with Director. Director allows to create a βFORβ loop with the internal variable $config$, but you can only set one variable for the service check (i.e. partion/drive).
In your case you need to set multiple values per check (partition, warning, critical,β¦). Maybe it is possible to do this with DSL code which implements further processing instructions.