diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/etc/apache2/munin.tg15.gathering.org.conf | 120 | ||||
-rw-r--r-- | web/etc/apache2/stats.tg15.gathering.org.conf | 21 | ||||
-rw-r--r-- | web/etc/apache2/stream.tg15.gathering.org.conf | 25 | ||||
-rw-r--r-- | web/etc/cron/einstein.cron | 39 |
4 files changed, 0 insertions, 205 deletions
diff --git a/web/etc/apache2/munin.tg15.gathering.org.conf b/web/etc/apache2/munin.tg15.gathering.org.conf deleted file mode 100644 index aaa3848..0000000 --- a/web/etc/apache2/munin.tg15.gathering.org.conf +++ /dev/null @@ -1,120 +0,0 @@ -<VirtualHost *:8080> - ServerAdmin drift@gathering.org - ServerName munin.tg15.gathering.org - - # Enable this for template generation - Alias /munin /var/cache/munin/www - - # Enable this for cgi-based templates - #Alias /munin-cgi/static /var/cache/munin/www/static - #ScriptAlias /munin-cgi /usr/lib/munin/cgi/munin-cgi-html - #<Location /munin-cgi> - # Order allow,deny - # Allow from localhost 127.0.0.0/8 ::1 - # AuthUserFile /etc/munin/munin-htpasswd - # AuthName "Munin" - # AuthType Basic - # require valid-user - #</Location> - - DocumentRoot /var/cache/munin/www - <Directory /var/cache/munin/www> - AllowOverride None - Order allow,deny - Allow from all - Options Indexes - #Require all granted - - # This file can be used as a .htaccess file, or a part of your apache - # config file. - # - # For the .htaccess file option to work the munin www directory - # (/var/cache/munin/www) must have "AllowOverride all" or something - # close to that set. - # - - # AuthUserFile /etc/munin/munin-htpasswd - # AuthName "Munin" - # AuthType Basic - # require valid-user - - # This next part requires mod_expires to be enabled. - # - - # Set the default expiration time for files to 5 minutes 10 seconds from - # their creation (modification) time. There are probably new files by - # that time. - # - - SetEnvIF ^X-Forwarded-For$ "^185\.12\.59\.12$" AllowIP - SetEnvIF ^X-Forwarded-For$ "^2a02:ed02:1337::12$" AllowIP - - <RequireAny> - AuthUserFile /root/tgmanage/web/.htpasswd - AuthName "Tech:Server Secret Volcano Lair" - AuthType Basic - Require valid-user - - Require env AllowIP - </RequireAny> - - <IfModule mod_expires.c> - ExpiresActive On - ExpiresDefault M310 - </IfModule> - - </Directory> - - # Enables fastcgi for munin-cgi-html if present - #<Location /munin-cgi> - # <IfModule mod_fastcgi.c> - # SetHandler fastcgi-script - # </IfModule> - #</Location> - - #<Location /munin-cgi/static> - # SetHandler None - #</Location> - - # Enables fastcgi for munin-cgi-graph if present - ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph - <Location /munin-cgi/munin-cgi-graph> - Order allow,deny - Allow from localhost 127.0.0.0/8 ::1 - # AuthUserFile /etc/munin/munin-htpasswd - # AuthName "Munin" - # AuthType Basic - # require valid-user - <IfModule mod_fcgid.c> - SetHandler fcgid-script - </IfModule> - <IfModule !mod_fcgid.c> - SetHandler cgi-script - </IfModule> - </Location> - - ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html - <Location /munin-cgi/munin-cgi-html> - Order allow,deny - Allow from localhost 127.0.0.0/8 ::1 - # AuthUserFile /etc/munin/munin-htpasswd - # AuthName "Munin" - # AuthType Basic - # require valid-user - <IfModule mod_fcgid.c> - SetHandler fcgid-script - </IfModule> - <IfModule !mod_fcgid.c> - SetHandler cgi-script - </IfModule> - </Location> - - ErrorLog /var/log/apache2/error-munin.tg15.gathering.org.log - - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel debug - - CustomLog /var/log/apache2/access-munin.tg15.gathering.org.log combined - ServerSignature On -</VirtualHost> diff --git a/web/etc/apache2/stats.tg15.gathering.org.conf b/web/etc/apache2/stats.tg15.gathering.org.conf deleted file mode 100644 index 2dc99a4..0000000 --- a/web/etc/apache2/stats.tg15.gathering.org.conf +++ /dev/null @@ -1,21 +0,0 @@ -<VirtualHost *:8080> - ServerAdmin drift@gathering.org - ServerName stats.tg15.gathering.org - - DocumentRoot /root/tgmanage/web/stats.gathering.org - <Directory "/root/tgmanage/web/stats.gathering.org"> - AllowOverride None - Options Indexes FollowSymLinks ExecCGI MultiViews - - Require all granted - </Directory> - - ErrorLog /var/log/apache2/error-stats.tg15.gathering.org.log - - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel warn - - CustomLog /var/log/apache2/access-stats.tg15.gathering.org.log combined - ServerSignature On -</VirtualHost> diff --git a/web/etc/apache2/stream.tg15.gathering.org.conf b/web/etc/apache2/stream.tg15.gathering.org.conf deleted file mode 100644 index 1f92f47..0000000 --- a/web/etc/apache2/stream.tg15.gathering.org.conf +++ /dev/null @@ -1,25 +0,0 @@ - <VirtualHost *:8080> - ServerAdmin drift@gathering.org - ServerName stream.tg15.gathering.org - ServerAlias krosus.tg15.gathering.org - - DocumentRoot /root/tgmanage/web/stream.gathering.org - <Directory "/root/tgmanage/web/stream.gathering.org/"> - AllowOverride None - Options Indexes FollowSymLinks ExecCGI MultiViews - Order allow,deny - Allow from all - Require all granted - AddHandler cgi-script .cgi .sh .pl .py - AddDefaultCharset UTF-8 - </Directory> - - ErrorLog /var/log/apache2/error-stream.tg15.gathering.org.log - - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel info - - CustomLog /var/log/apache2/access-stream.tg15.gathering.org.log combined - ServerSignature On -</VirtualHost> diff --git a/web/etc/cron/einstein.cron b/web/etc/cron/einstein.cron deleted file mode 100644 index 616867f..0000000 --- a/web/etc/cron/einstein.cron +++ /dev/null @@ -1,39 +0,0 @@ -# Edit this file to introduce tasks to be run by cron. -# -# Each task to run has to be defined through a single line -# indicating with different fields when the task will be run -# and what command to run for the task -# -# To define the time you can provide concrete values for -# minute (m), hour (h), day of month (dom), month (mon), -# and day of week (dow) or use '*' in these fields (for 'any').# -# Notice that tasks will be started based on the cron's system -# daemon's notion of time and timezones. -# -# Output of the crontab jobs (including errors) is sent through -# email to the user the crontab file belongs to (unless redirected). -# -# For example, you can run a backup of all your user accounts -# at 5 a.m every week with: -# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ -# -# For more information see the manual pages of crontab(5) and cron(8) -# -# m h dom mon dow command - -# hver dag kl 18:00 -0 18 * * * /bin/bash /root/tgmanage/clients/fetch-cubemap-munin.sh - -# søndag kl 06:00 -0 6 05 04 * /bin/bash /root/tgmanage/clients/fetch-cubemap-munin.sh - -*/1 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/nettkart-trafikk.png http://tg:REMOVED@nms.tg15.gathering.org/nettkart.pl -*/1 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/nettkart-dhcp.png http://tg:REMOVED@nms.tg15.gathering.org/dhcpkart.pl -*/1 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/tempkart.png http://tg:REMOVED@nms.tg15.gathering.org/stempmap.pl -*/1 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/switches.json http://tg:REMOVED@nms.tg15.gathering.org/switches-json.pl -*/1 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/nettkart.json 'http://tg:REMOVED@nms.tg15.gathering.org/nettkart-json.pl?secret=frosk&secret2=fisk&noise=0.0000000001&phase=3&period=86400' -*/5 * * * * wget -qO/root/tgmanage/web/nms-public.gathering.org/weathermap.png http://185.12.59.23/cacti/plugins/weathermap/output/962ddeea4b2d7ad5bd02.png - -24 12 * * * /bin/bash /root/backup/tg15backup.sh -13 07 05 04 * /bin/bash /root/backup/tg15backup.sh -45 08 05 04 * /bin/bash /root/backup/tg15backup.sh |