Changes

348 bytes added ,  14:25, 1 December 2011
m
nemo is a pywikipediabot
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'
 +
redirect to /gar
 +
  ssh root@munin 'echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"><html><head><title>munin.treehouse.su/gar</title><meta http-equiv="REFRESH" content=\"0;url=http://munin.treehouse.su/gar\"></HEAD><BODY>Optional page text here.</BODY></HTML>" > /var/www/index.html'
 +
  ssh root@munin 'service apache2 restart'
 
enable CGI
 
enable CGI
 
   ssh root@munin 'aptitude install libdate-manip-perl'
 
   ssh root@munin 'aptitude install libdate-manip-perl'
42

edits