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