check_mk-check-nfsiostat/agents/bakery/mk_nfsiostat
2018-09-10 10:08:30 +03:00

12 lines
326 B
Python

#!/usr/bin/env python
def bake_nfsiostat(opsys, conf, conf_dir, plugins_dir):
source = cmk.paths.local_agents_dir + "/plugins/mk_nfsiostat"
dest = plugins_dir + "/mk_nfsiostat"
shutil.copy2(source, dest)
bakery_info["mk_nfsiostat"] = {
"bake_function" : bake_nfsiostat,
"os" : [ "linux", ],
}