]> granicus.if.org Git - icinga2/commitdiff
Ignore -W and -K arguments for check_disk on Windows
authorGunnar Beutner <gunnar@beutner.name>
Sat, 15 Aug 2015 08:26:43 +0000 (10:26 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Sat, 15 Aug 2015 08:27:51 +0000 (10:27 +0200)
fixes #9913

plugins/check_disk.cpp

index c7a565d01144d457ed0e6fdbbf858a0dbcb2f1c0..f66a79e6bcf8f22e8535999a8f853103a77954cb 100644 (file)
@@ -81,6 +81,8 @@ static INT parseArguments(INT ac, WCHAR **av, po::variables_map& vm, printInfoSt
                ("path,p", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Declare explicitly which drives to check (default checks all)")
                ("exclude_device,x", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude these drives from check")
                ("exclude-type,X", po::wvalue<std::vector<std::wstring>>()->multitoken(), "Exclude partition types (ignored)")
+               ("iwarning,W", po::wvalue<std::wstring>(), "Warning threshold for inodes (ignored)")
+               ("icritical,K", po::wvalue<std::wstring>(), "Critical threshold for inodes (ignored)")
                ("unit,u", po::wvalue<std::wstring>(), "Assign unit possible are: B, kB, MB, GB, TB")\
                ("megabytes,m", "use megabytes, overridden by -unit")
                ;