Changes

Jump to navigation Jump to search
315 bytes added ,  20:58, 5 October 2011
m
nemo is a pywikipediabot
Line 15: Line 15:  
| Admins || [[User:dogi|Stefan Unterhauser]]
 
| Admins || [[User:dogi|Stefan Unterhauser]]
 
|-
 
|-
| Monitoring || [http://monitoring.treehouse.su/gar/VMs/munin.treehouse.su/ munin]
+
| Monitoring || [http://munin.treehouse.su/gar/VMs/munin.treehouse.su/ munin]
 
|}
 
|}
 
== Recipe ==
 
== Recipe ==
Line 46: Line 46:  
   ssh root@munin 'echo "tmpldir /etc/munin/templates" >> /etc/munin/munin.conf'
 
   ssh root@munin 'echo "tmpldir /etc/munin/templates" >> /etc/munin/munin.conf'
 
   ssh root@munin 'sed -i "s/localhost.localdomain/VMs;munin.treehouse.su/" /etc/munin/munin.conf'
 
   ssh root@munin 'sed -i "s/localhost.localdomain/VMs;munin.treehouse.su/" /etc/munin/munin.conf'
   ssh root@munin 'sed -i "s/<\/Vir/#<\/Vir/" /etc/apache2/sites-enabled/000-default'
+
   ssh root@munin 'sed -i "s/^<\/Vir/#<\/Vir/" /etc/apache2/sites-enabled/000-default'
 
   ssh root@munin 'echo "Alias /gar /var/cache/munin/www" >> /etc/apache2/sites-enabled/000-default'
 
   ssh root@munin 'echo "Alias /gar /var/cache/munin/www" >> /etc/apache2/sites-enabled/000-default'
 
   ssh root@munin 'cat /etc/munin/apache.conf >> /etc/apache2/sites-enabled/000-default'
 
   ssh root@munin 'cat /etc/munin/apache.conf >> /etc/apache2/sites-enabled/000-default'
Line 59: Line 59:  
   ssh root@munin 'sed "s/TEMPLATE/housetree/" </etc/munin/munin-conf.d.tpl >/etc/munin/munin-conf.d/housetree'
 
   ssh root@munin 'sed "s/TEMPLATE/housetree/" </etc/munin/munin-conf.d.tpl >/etc/munin/munin-conf.d/housetree'
 
   ssh root@munin 'sed -i "s/VMs/DOMs/" /etc/munin/munin-conf.d/dextra /etc/munin/munin-conf.d/treehouse /etc/munin/munin-conf.d/housetree'
 
   ssh root@munin 'sed -i "s/VMs/DOMs/" /etc/munin/munin-conf.d/dextra /etc/munin/munin-conf.d/treehouse /etc/munin/munin-conf.d/housetree'
ssh root@munin ''
+
enable CGI
 +
  ssh root@munin 'aptitude install libdate-manip-perl'
 +
  ssh root@munin 'echo "graph_strategy cgi" >> /etc/munin/munin.conf'
 +
  ssh root@munin 'echo "html_strategy cgi" >> /etc/munin/munin.conf'
 +
  ssh root@munin 'echo "cgiurl_graph /cgi-bin/munin-cgi-graph" >> /etc/munin/munin.conf'
 +
  ssh root@munin 'service apache2 restart'
42

edits

Navigation menu