add external commands as stubs for the nagios plugins
[monitor.git] / commands / repair.py
diff --git a/commands/repair.py b/commands/repair.py
new file mode 100755 (executable)
index 0000000..0706b02
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/python
+
+import time
+import sys
+import os
+
+if __name__ == '__main__':
+       f = open("/tmp/repair", 'a')
+       f.write("repair %s %s\n" % (time.time(), " ".join(sys.argv[1:])))
+       f.close()