From b1d7bf9dde8125b656befe80cb3dc7c018a18488 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Mon, 24 Aug 2015 10:36:18 +0200 Subject: [PATCH] Add check command nspc-local-counter fixes #9985 Signed-off-by: Gunnar Beutner --- 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 6cd443281..4098e8e86 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -1224,6 +1224,12 @@ Check command object for the `check_drivesize` NSClient++ plugin. This command has the same custom attributes like the `nscp-local` check command. +## nscp-local-counter + +Check command object for the `check_pdh` 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 d2cdc75f9..8cfe2ee91 100644 --- a/itl/command-nscp-local.conf +++ b/itl/command-nscp-local.conf @@ -100,3 +100,9 @@ object CheckCommand "nscp-local-disk" { vars.nscp_query = "check_drivesize" } + +object CheckCommand "nscp-local-counter" { + import "nscp-local" + + vars.nscp_query = "check_pdh" +}