From 282a0a2accdcaea8df928ba1b9269f028564803e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 20 Apr 2017 15:53:20 +0200 Subject: save update_jdn output in /var/log/jenkins/update_jdn.log and logrotate it Signed-off-by: Holger Levsen --- hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi (limited to 'hosts/jenkins/usr') 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 + -- cgit v1.2.3-70-g09d2