]> granicus.if.org Git - icinga2/commitdiff
Add check command nspc-local-counter
authorLennart Betz <lennart.betz@netways.de>
Mon, 24 Aug 2015 08:36:18 +0000 (10:36 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 24 Aug 2015 11:19:52 +0000 (13:19 +0200)
fixes #9985

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
doc/7-icinga-template-library.md
itl/command-nscp-local.conf

index 6cd443281eb442e1492f1015a9db8d469ba551c4..4098e8e867fd75852f83e58e5347a2f0c0835ac2 100644 (file)
@@ -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.
 
+## <a id="nscp-check-local-counter"></a> 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.
+
 # <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
index d2cdc75f95f192ae17fbfa5c98bd5a00835bbff5..8cfe2ee9138770346f7a6cbacc293f9f7a1987b3 100644 (file)
@@ -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"
+}