Commit Diff


commit - ae63ed124123f565076daf777a1c731b1e5579a6
commit + b7133a935b89d8a65a3f7f832cb799ca719d8c78
blob - 899b362266e8a59f0ea74753f490dcad4b16cec6
blob + c6656abfe20e08157626e09985bc5d7f62bb8aff
--- wrapper.sh
+++ wrapper.sh
@@ -16,34 +16,32 @@
 #
 #*/5     *       *       *       *       -n /home/mischa/rrdtool/wrapper.sh
 #
-HOSTS="13 1"
 SCRIPTS="/home/mischa/rrdtool"
+SERVERS="15 1"
+MEGA="1 1"
 
-for i in $(jot ${HOSTS}); do
+# SERVERS
+for i in $(jot ${SERVERS}); do
 	${SCRIPTS}/uptime.sh s${i}.obsda.ms &
 done
 wait
 
-for i in $(jot ${HOSTS}); do
+for i in $(jot ${SERVERS}); do
 	${SCRIPTS}/version.sh s${i}.obsda.ms &
+	${SCRIPTS}/cpu_load.sh s${i}.obsda.ms &
+	${SCRIPTS}/interface.sh s${i}.obsda.ms 9 &
 done
 wait
 
-for i in $(jot ${HOSTS}); do
-	${SCRIPTS}/cpu_load.sh s${i}.obsda.ms &
+# MEGA
+for i in $(jot ${MEGA}); do
+	${SCRIPTS}/uptime.sh m${i}.obsda.ms &
 done
 wait
 
-${SCRIPTS}/interface.sh s1.obsda.ms 9 &
-${SCRIPTS}/interface.sh s2.obsda.ms 9 &
-${SCRIPTS}/interface.sh s3.obsda.ms 9 &
-${SCRIPTS}/interface.sh s4.obsda.ms 9 &
-${SCRIPTS}/interface.sh s5.obsda.ms 9 &
-${SCRIPTS}/interface.sh s6.obsda.ms 9 &
-${SCRIPTS}/interface.sh s7.obsda.ms 9 &
-${SCRIPTS}/interface.sh s8.obsda.ms 9 &
-${SCRIPTS}/interface.sh s9.obsda.ms 9 &
-${SCRIPTS}/interface.sh s10.obsda.ms 9 &
-${SCRIPTS}/interface.sh s11.obsda.ms 9 &
-${SCRIPTS}/interface.sh s12.obsda.ms 9 &
-${SCRIPTS}/interface.sh s13.obsda.ms 9 &
+for i in $(jot ${MEGA}); do
+	${SCRIPTS}/version.sh m${i}.obsda.ms &
+	${SCRIPTS}/cpu_load.sh m${i}.obsda.ms &
+	${SCRIPTS}/interface.sh m${i}.obsda.ms 9 &
+done
+wait