Module: check_mk
Branch: master
Commit: ee95350a7f32f98507aefa93bef4f7e6f6296464
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ee95350a7f32f9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 13 10:45:04 2013 +0100
opcmsg-script: now really executing opcmsg
---
doc/treasures/opcmsg | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/doc/treasures/opcmsg b/doc/treasures/opcmsg
index cc2bd39..0c8cd21 100755
--- a/doc/treasures/opcmsg
+++ b/doc/treasures/opcmsg
@@ -61,8 +61,7 @@ def main():
# Execute the command
print "executing command" , command
- file("/tmp/opc","w").write(command)
- # return os.system(command)
+ os.system(command)
except Exception, e:
sys.stdout.write("ERROR %r" % e)
sys.exit(1)