Module: check_mk
Branch: master
Commit: 2a576aa3693b067ebbd5d3a82b2dd43a0d9c95de
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a576aa3693b06…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Feb 11 11:56:48 2013 +0100
mknotifyd: removed obsolete test script
---
mknotifyd/bin/clienttest | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/mknotifyd/bin/clienttest b/mknotifyd/bin/clienttest
deleted file mode 100755
index 1816aad..0000000
--- a/mknotifyd/bin/clienttest
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/python
-# encoding: utf-8
-
-import socket, os, time, sys, getopt, signal, thread, pprint, re, select, subprocess,
stat, pickle
-from pwd import getpwnam
-from grp import getgrnam
-
-if len(sys.argv) == 2:
- filename = sys.argv[1]
-else:
- filename = None
-
-sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-sock.settimeout(10)
-sock.connect(("localhost", 7010))
-
-if not filename:
- sock.send(pickle.dumps([1,2,3,5,6]))
-else:
- sock.send(pickle.dumps(eval(file(filename).read())))
-
-response_text = ""
-while True:
- chunk = sock.recv(8192)
- response_text += chunk
- if not chunk:
- break
-
-print response_text
-
-
-