i am trying to switch to the latest Version of NSClient (0.5.0.62) but it seems i am missing something.
Formerly this command was working:
-c CheckFileSize -a File="D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA*.ldf" MaxWarn=100G MaxCrit=120G
Now there is no command CheckFileSize anymore so i am trying to use the new check_files command:
-c check_files -a "path=c:/windows/temp/" "critical=size gt 1k"
This command returns OK: All 2 files are ok but These two files are bigger then 1k (aprox 50k)
echo $? returns 0
What am i missing?