]> granicus.if.org Git - icinga2/commitdiff
Fix value attributes for ceph plugin 6561/head
authorMichal Petko <michal.petko@jumpshot.com>
Tue, 21 Aug 2018 18:00:19 +0000 (20:00 +0200)
committerMichal Petko <michal.petko@jumpshot.com>
Tue, 21 Aug 2018 18:00:19 +0000 (20:00 +0200)
itl/plugins-contrib.d/storage.conf

index 40a3b5c2a52d9d82a26581721fdffd171dc658c7..b47e8af72954b6fbb09e220547f9fae8cafd956b 100644 (file)
@@ -62,42 +62,42 @@ object CheckCommand "ceph" {
 
        arguments = {
                "-e" = {
-                       value = "$service.vars.ceph_exec_dir$"
+                       value = "$ceph_exec_dir$"
                        required = false
                        description = "ceph executable [/usr/bin/ceph]"
                }
                "-c" = {
-                       value = "$service.vars.ceph_conf_file$"
+                       value = "$ceph_conf_file$"
                        required = false
                        description = "alternative ceph conf file"
                }
                "-m" = {
-                       value = "$service.vars.ceph_mon_address$"
+                       value = "$ceph_mon_address$"
                        required = false
                        description = "ceph monitor address[:port]"
                }
                "-i" = {
-                       value = "$service.vars.ceph_client_id$"
+                       value = "$ceph_client_id$"
                        required = false
                        description = "ceph client id"
                }
                "-n" = {
-                       value = "$service.vars.ceph_client_name$"
+                       value = "$ceph_client_name$"
                        required = false
                        description = "ceph client name"
                }
                "-k" = {
-                       value = "$service.vars.ceph_client_key$"
+                       value = "$ceph_client_key$"
                        required = false
                        description = "ceph client keyring file"
                }
                "-w" = {
-                       value = "$service.vars.ceph_whitelist$"
+                       value = "$ceph_whitelist$"
                        required = false
                        description = "whitelist regexp for ceph health warnings"
                }
                "-d" = {
-                       set_if = "$service.vars.ceph_details$"
+                       set_if = "$ceph_details$"
                        description = "exec 'ceph health detail'"
                }
        }