From: Lennart Betz Date: Tue, 21 Apr 2015 10:21:01 +0000 (+0200) Subject: Add 'check_drivesize' as nscp-local check command X-Git-Tag: v2.3.5~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbd78817bf20061af77cefafa6201707d556992c;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 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" +}