From: Lennart Betz <lennart.betz@netways.de> Date: Tue, 21 Apr 2015 10:21:01 +0000 (+0200) Subject: Add 'check_drivesize' as nscp-local check command X-Git-Tag: v2.4.0~708 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7c9e5587cd07c85d4ba880e414df88bd9f620ae;p=icinga2 Add 'check_drivesize' as nscp-local check command fixes #9130 --- diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 1156c7b2d..6de3f0e96 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -1056,6 +1056,12 @@ Check command object for the `check_version` NSClient++ plugin. This command has the same custom attributes like the `nscp-local` check command. +## <a id="nscp-check-local-disk"></a> 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. + # <a id="snmp-manubulon-plugin-check-commands"></a> 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" +}