From dbd78817bf20061af77cefafa6201707d556992c Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Tue, 21 Apr 2015 12:21:01 +0200 Subject: [PATCH] Add 'check_drivesize' as nscp-local check command fixes #9130 --- doc/7-icinga-template-library.md | 6 ++++++ itl/command-nscp-local.conf | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 45f74d72f..9e6fde34a 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -1045,6 +1045,12 @@ Check command object for the `check_version` NSClient++ plugin. This command has the same custom attributes like the `nscp-local` check command. +## nscp-local-disk + +Check command object for the `check_drivesize` NSClient++ plugin. + +This command has the same custom attributes like the `nscp-local` check command. + # SNMP Manubulon Plugin Check Commands The `SNMP Manubulon Plugin Check Commands` provide example configuration for plugin check diff --git a/itl/command-nscp-local.conf b/itl/command-nscp-local.conf index 8547a4655..1b3ba3fa9 100644 --- a/itl/command-nscp-local.conf +++ b/itl/command-nscp-local.conf @@ -88,3 +88,9 @@ object CheckCommand "nscp-local-version" { vars.nscp_query = "check_version" } + +object CheckCommand "nscp-local-disk" { + import "nscp-local" + + vars.nscp_query = "check_drivesize" +} -- 2.49.0