瀏覽代碼

fixed bakery issue

master
Marius Pana 2 年之前
父節點
當前提交
0e1d8bb124
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. +4
    -3
      agents/bakery/mk_nfsiostat

+ 4
- 3
agents/bakery/mk_nfsiostat 查看文件

@@ -1,10 +1,11 @@
#!/usr/bin/env python
# -*- encoding: utf-8; py-indent-offset: 4 -*-

def bake_nfsiostat(opsys, conf, conf_dir, plugins_dir):
shutil.copy2(cmk.paths.local_agents_dir + "/plugins/mk_nfsiostat", plugins_dir + "/mk_nfsiostat")
source = cmk.paths.local_agents_dir + "/plugins/mk_nfsiostat"
dest = plugins_dir + "/mk_nfsiostat"
shutil.copy2(source, dest)

bakery_info["nfsiostat"] = {
bakery_info["mk_nfsiostat"] = {
"bake_function" : bake_nfsiostat,
"os" : [ "linux", ],
}

Loading…
取消
儲存