summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins')
-rw-r--r--hosts/jenkins/etc/logrotate.d/jenkins.debian.net-email (renamed from hosts/jenkins/etc/logrotate.d/jenkins.debian.net)0
-rw-r--r--hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn9
-rw-r--r--hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi8
3 files changed, 17 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/logrotate.d/jenkins.debian.net b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-email
index 995de184..995de184 100644
--- a/hosts/jenkins/etc/logrotate.d/jenkins.debian.net
+++ b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-email
diff --git a/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
new file mode 100644
index 00000000..c1f207a7
--- /dev/null
+++ b/hosts/jenkins/etc/logrotate.d/jenkins.debian.net-update_jdn
@@ -0,0 +1,9 @@
+/var/log/jenkins/update_jdn.log {
+ daily
+ copytruncate
+ missingok
+ rotate 7
+ compress
+ delaycompress
+ notifempty
+}
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
+