To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 7c3deffc authored by Reto Da Forno's avatar Reto Da Forno

minor improvements

parent f05bbb44
......@@ -12,7 +12,7 @@ iface lo inet loopback
auto eth0
#allow-hotplug eth0
iface eth0 inet dhcp
udhcpc_opts -x hostname:flocklab-observer029.flocklab-dyn.ethz.ch
udhcpc_opts -x hostname:flocklab-observerXXX.flocklab-dyn.ethz.ch
# Static IP
#auto eth0
......
......@@ -353,6 +353,8 @@ if [ ! "$2" = "-sdsetuponly" ]; then
scp snmp/scripts/memoryfragmentation.sh root@$GUMSTIX:/etc/snmp/scripts/.
scp snmp/scripts/daqsync.sh root@$GUMSTIX:/etc/snmp/scripts/.
scp snmp/scripts/flocklab_templates_md5sum.sh root@$GUMSTIX:/etc/snmp/scripts/.
scp snmp/scripts/chrony-stats.sh root@$GUMSTIX:/etc/snmp/scripts/.
scp snmp/scripts/flocklab_glossysync.sh root@$GUMSTIX:/etc/snmp/scripts/.
echo "Upload ssh authorized_keys file..."
scp network/authorized_keys root@$GUMSTIX:/home/root/.ssh/
......@@ -386,7 +388,8 @@ if [ ! "$2" = "-sdsetuponly" ]; then
echo "Upload and register watchdogs...";
scp network/ping_watchdog.sh root@$GUMSTIX:/usr/bin/.;
ssh root@$GUMSTIX "sed -i '/ping_watchdog\.sh/d' /etc/crontab";
ssh root@$GUMSTIX "echo \"*/2 * * * * root /usr/bin/ping_watchdog.sh whymper 8.8.8.8 10\" >> /etc/crontab";
ssh root@$GUMSTIX "sed -i 's/^1 \* \* \* \* root \/etc\/network\/if-up.d\/chrony-burst.sh/#&/g' /etc/crontab"
ssh root@$GUMSTIX "echo \"*/2 * * * * root /usr/bin/ping_watchdog.sh whymper ethz.ch 10\" >> /etc/crontab";
fi
if [ ! "$2" = "-sdsetuponly" ]; then
......
......@@ -49,7 +49,7 @@ class UpdateSlotAssignThread(threading.Thread):
if self.Maxretries:
cmd = "%s -m%d" %(cmd, self.Maxretries)
self.Logger.debug("Observer %s: calling %s" %(self.ObsHostname, cmd))
p = subprocess.Popen(['ssh', 'root@%s' % (self.ObsHostname), cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p = subprocess.Popen(['ssh', '-qq', 'root@%s' % (self.ObsHostname), cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
rs = p.communicate()
self.Logger.debug("Observer %s: got response: %s" % (self.ObsHostname, str(rs)))
......
......@@ -438,7 +438,7 @@ var bandInfos = [
</div>
</div>
<div style="position:relative;padding:0;width:776px;height:900px;background-color:#fff">
<div id="graph-bg" style="width:776px;height:900px;z-index:1;position:absolute;background:url(pics/floormap_etz_etf.png);opacity:0.6;filter:alpha(opacity=60);"></div>
<div id="graph-bg" style="width:776px;height:900px;z-index:1;position:absolute;background:url(pics/floormap_etz_etf.png);background-repeat:no-repeat;opacity:0.6;filter:alpha(opacity=60);"></div>
<div id="graph" style="width:776px;height:900px;z-index:2;position:absolute"></div>
<div id="heatmap" style="width:776px;height:900px;position:absolute;left:0px;top:0px;z-index:0"></div>
<div id="info" style="width:400px;height:300px;position:absolute;left:350px;top:550px;z-index:1;border:solid 2px black;background-color:#fff;padding:3px">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment