]> granicus.if.org Git - icinga2/commitdiff
Add 'check_drivesize' as nscp-local check command
authorLennart Betz <lennart.betz@netways.de>
Tue, 21 Apr 2015 10:21:01 +0000 (12:21 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 21 Apr 2015 10:21:01 +0000 (12:21 +0200)
fixes #9130

doc/7-icinga-template-library.md
itl/command-nscp-local.conf

index 1156c7b2de2515b2958eb8913c8f5f6b3bf6207c..6de3f0e9657eeb5b477b411cc37781bc0d12b400 100644 (file)
@@ -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.
 
+## <a id="nscp-check-local-disk"></a> 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.
+
 # <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 8547a4655a6dd2eaad58ee27b168dbebedca89cd..1b3ba3fa97bf2b193c019d336567128544118fc9 100644 (file)
@@ -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"
+}