check_mk-check-nfsiostat/agents/bakery/mk_nfsiostat

12 lines
326 B
Plaintext
Raw Normal View History

2018-09-05 23:52:16 +03:00
#!/usr/bin/env python
def bake_nfsiostat(opsys, conf, conf_dir, plugins_dir):
2018-09-10 10:08:30 +03:00
source = cmk.paths.local_agents_dir + "/plugins/mk_nfsiostat"
dest = plugins_dir + "/mk_nfsiostat"
shutil.copy2(source, dest)
2018-09-05 23:52:16 +03:00
2018-09-10 10:08:30 +03:00
bakery_info["mk_nfsiostat"] = {
2018-09-05 23:52:16 +03:00
"bake_function" : bake_nfsiostat,
"os" : [ "linux", ],
2018-09-10 09:18:46 +03:00
}