Windows Disk Check
Posted: Tue Oct 08, 2019 3:02 pm
Is it possible for Windows to have a single client check for all disks with one threshold and also specify another threshold for specific disks in the same check.?
Support for Nagios products and services
https://support.nagios.com/forum/
Would this work for your needs?check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar
Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M
Code: Select all
CheckDriveSize help
L cli OK: help Show help screen (this screen)
help-pb Show help screen as a protocol buffer payload
show-default Show default values for a given command
help-short Show help screen (short format).
CheckAll=ARG Checks all drives.
Default value: CheckAll=true
CheckAllOthers=ARG Checks all drives turns the drive option into an exclude
option.
Default value: CheckAllOthers=true
Drive=ARG The drives to check
FilterType=ARG The type of drives to check fixed, remote, cdrom,
ramdisk, removable
perf-unit=ARG Force performance data to use a given unit prevents
scaling which can cause problems over time in some
graphing solutions.
ShowAll=ARG Configures display format (if set shows all items not
only failures, if set to long shows all cores).
Default value: ShowAll=short
MaxWarn=ARG Maximum value before a warning is returned.
MaxCrit=ARG Maximum value before a critical is returned.
MinWarn=ARG Minimum value before a warning is returned.
MinCrit=ARG Minimum value before a critical is returned.
MaxWarnFree=ARG Maximum value before a warning is returned.
MaxCritFree=ARG Maximum value before a critical is returned.
MinWarnFree=ARG Minimum value before a warning is returned.
MinCritFree=ARG Minimum value before a critical is returned.
MaxWarnUsed=ARG Maximum value before a warning is returned.
MaxCritUsed=ARG Maximum value before a critical is returned.
MinWarnUsed=ARG Minimum value before a warning is returned.
MinCritUsed=ARG Minimum value before a critical is returned.
L cli Performance data: