Open ritouret opened 4 years ago
Hello,
I don't understand how to use arguments to have a CRITICAL message if disk is missing :
Request : check_drivesize -a "drive=F:\CRP" "warning=used>90% and free<100G" "critical=used>95% and free<50G" "empty-state=CRITICAL" "empty-syntax=CRITICAL: Aucun disque" "show-all"
Answer : Filter processing failed: Failed to get size for F:\CRP: 57: The parameter is incorrect. : 0 > convert(0) and 0 < convert(53687091200)
With returncode = 3
It should be : CRITICAL: Aucun disque
What's going wrong with these arguments ?
The Nsclient version used is 0.5.2.35 2018-01-28
Thanks
There is twice \ for drive argument but it only show one in this issue ...
Try forwardslashes instead of backslashes.
Hello,
I don't understand how to use arguments to have a CRITICAL message if disk is missing :
Request : check_drivesize -a "drive=F:\CRP" "warning=used>90% and free<100G" "critical=used>95% and free<50G" "empty-state=CRITICAL" "empty-syntax=CRITICAL: Aucun disque" "show-all"
Answer : Filter processing failed: Failed to get size for F:\CRP: 57: The parameter is incorrect. : 0 > convert(0) and 0 < convert(53687091200)
With returncode = 3
It should be : CRITICAL: Aucun disque
What's going wrong with these arguments ?
The Nsclient version used is 0.5.2.35 2018-01-28
Thanks