summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi')
-rw-r--r--hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi b/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi
new file mode 100644
index 00000000..66c6e601
--- /dev/null
+++ b/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "HTTP/1.0 200 OK"
+echo "Connection: close"
+echo "Content-type: text/plain"
+echo ""
+tail -F /var/log/xymon/*.log
+