commit - 0df8cf1e124dc210bf151e09f8023265432be3a3
commit + a77a12d404ec63105f77b9faefcf996677e3235d
blob - c6656abfe20e08157626e09985bc5d7f62bb8aff
blob + 67eb66fec6893d9106e1dac8bb8ee2b17f021891
--- wrapper.sh
+++ wrapper.sh
MEGA="1 1"
# SERVERS
+# Fetch uptime and version from all SERVERS
for i in $(jot ${SERVERS}); do
${SCRIPTS}/uptime.sh s${i}.obsda.ms &
+ ${SCRIPTS}/version.sh s${i}.obsda.ms &
done
wait
-
+# Fetch CPU load and interface statistics
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
# MEGA
+# Fetch uptime and version from all MEGA
for i in $(jot ${MEGA}); do
${SCRIPTS}/uptime.sh m${i}.obsda.ms &
+ ${SCRIPTS}/version.sh m${i}.obsda.ms &
done
wait
-
+# Fetch CPU load and interface statistics
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