Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:skoleni:start [2014/06/24 17:31]
admin
linux:skoleni:start [2014/06/27 09:26] (current)
vondra [Bonus]
Line 177: Line 177:
 access MyROGroup "" ​     any       ​noauth ​   exact  all    none   none access MyROGroup "" ​     any       ​noauth ​   exact  all    none   none
 </​file>​ </​file>​
 +
 +cfgmaker --zero-speed=1000000000 public@127.0.0.1 >/​etc/​mrtg.cfg ​
 +
 +Rucni spusteni mrtg misto /​etc/​cron.d/​mrtg
 +   env LANG=C /​usr/​bin/​mrtg /​etc/​mrtg.cfg
 +   
 +===== Firewall Iptables ======
 +tcpdump -i eth0 -n tcp port 25
 +
 +   ​indexmaker /​etc/​mrtg.cfg ​ >/​var/​www/​mrtg/​index.html
 +
 ====== Bonus ====== ====== Bonus ======
 <​code>​ <​code>​
Line 186: Line 197:
 xdotool key --window $WID F5  xdotool key --window $WID F5 
 sleep 0.5 sleep 0.5
 +# next line needs tweaking when nagios changes its layout - XY coordinates of the click
 xdotool mousemove --sync 50 330 xdotool mousemove --sync 50 330
 sleep 0.5 sleep 0.5
 
linux/skoleni/start.1403623916.txt.gz · Last modified: 2014/06/24 17:31 by admin