From 3fdc9ac69a2bb7f5e24e8b070492116dcc0e0fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Thu, 26 Sep 2019 14:22:46 +0200 Subject: [PATCH] Move Windows file age check files' download link to the documentation --- doc/10-icinga-template-library.md | 2 ++ itl/command-plugins-windows.conf | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 81f771762..3f65d23f2 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -1739,6 +1739,8 @@ critical | **Required**. The critical threshold of file age in seconds. All variables are required and all variables are positional. The variable order is: file warning critical. +The check_file_age.cmd and the check_file_age.cmd.ps1 files are available for [download](https://github.com/KAMI911/icinga2-basic/tree/master/plugins). + ## Plugin Check Commands for NSClient++ There are two methods available for querying NSClient++: diff --git a/itl/command-plugins-windows.conf b/itl/command-plugins-windows.conf index d7f7dc86a..af5ef7f2a 100644 --- a/itl/command-plugins-windows.conf +++ b/itl/command-plugins-windows.conf @@ -318,13 +318,6 @@ object CheckCommand "users-windows" { } } -/* - * Icinga2 CheckCommand definition for a file age check for Windows - - check_file_age.cmd and check_file_age.cmd.ps1 files are available from here: - https://github.com/KAMI911/icinga2-basic/tree/master/plugins -*/ - object CheckCommand "file-age-windows" { command = [ PluginDir + "/check_file_age.cmd" ]