From c7c9e5587cd07c85d4ba880e414df88bd9f620ae 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 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. +## 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" +}