fixed bakery issue
This commit is contained in:
parent
0de0687f30
commit
0e1d8bb124
@ -1,10 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- encoding: utf-8; py-indent-offset: 4 -*-
|
|
||||||
|
|
||||||
def bake_nfsiostat(opsys, conf, conf_dir, plugins_dir):
|
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,
|
"bake_function" : bake_nfsiostat,
|
||||||
"os" : [ "linux", ],
|
"os" : [ "linux", ],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user