From: Lennart Betz Date: Mon, 24 Aug 2015 08:36:18 +0000 (+0200) Subject: Add check command nspc-local-counter X-Git-Tag: v2.4.0~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f12b820685a60b12edac83c4565c92e932aaaf7d;p=icinga2 Add check command nspc-local-counter fixes #9985 Signed-off-by: Gunnar Beutner --- diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 93104955a..b96d40e2c 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -1227,6 +1227,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" +}