Be more lenient towards receiving errors, and update install/todo notes

develop
Sven Slootweg 11 years ago
parent 5a7e3815ca
commit 86b013a0b7

@ -93,6 +93,9 @@ while True:
# Probably a spoofed message... skip to next socket # Probably a spoofed message... skip to next socket
sys.stderr.write("Ignoring message... spoofed?\n") # FIXME: Use logging module... sys.stderr.write("Ignoring message... spoofed?\n") # FIXME: Use logging module...
continue continue
except Exception, e:
sys.stderr.write(repr(e) + "\n")
continue
distributor.send(msgpack.packb({ distributor.send(msgpack.packb({
"host": host, "host": host,
"message": message "message": message

@ -1,3 +1,3 @@
# Backports: echo "deb http://backports.debian.org/debian-backports squeeze-backports main" >> /etc/apt/sources.list # Backports: echo "deb http://backports.debian.org/debian-backports squeeze-backports main" >> /etc/apt/sources.list && apt-get update && apt-get upgrade
apt-get install -y python python-dev && wget cryto.net/~joepie91/pipfix.sh && chmod +x pipfix.sh && ./pipfix.sh apt-get install -y python python-dev && wget cryto.net/~joepie91/pipfix.sh && chmod +x pipfix.sh && ./pipfix.sh
adduser --system --shell /bin/bash --group monitor && apt-get install -y git; su -c "cd ~; git clone https://github.com/joepie91/cryto-status.git" monitor && /home/monitor/cryto-status/deps.sh adduser --system --shell /bin/bash --group monitor && apt-get install -y git; su -c "cd ~; git clone https://github.com/joepie91/cryto-status.git" monitor && /home/monitor/cryto-status/deps.sh

@ -2,3 +2,4 @@
* heartbeat slaves * heartbeat slaves
* web interface (angularjs) * web interface (angularjs)
* separate alarm and IRC logic * separate alarm and IRC logic
* monitor inodes

Loading…
Cancel
Save