Installation steps and bugfixes

develop
Sven Slootweg 10 years ago
parent e2c9097585
commit 11eb813164

@ -46,6 +46,7 @@ def heartbeat():
last_node_status[hostname] = up last_node_status[hostname] = up
send_message = False
if status_changed: if status_changed:
if up: if up:
msg_type = "up" msg_type = "up"

@ -3,6 +3,7 @@ hostname: monitoring.cryto.net
heartbeat: heartbeat:
interval: 5 interval: 5
timeout: 1 timeout: 1
attempts: 3
nodes: nodes:
localhost: localhost:

@ -4,4 +4,4 @@ pubkey: a266a0634790a79c6934385892f7c377d35b8f03b9c6ac7d5bfed4a94f93ba65
autostart: autostart:
- stats-processes - stats-processes
- stats-ports - stats-ports
- stats-machines - stats-machine

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
# You need squeeze-backports if you run this on squeeze! # You need squeeze-backports if you run this on squeeze!
apt-get install -y libzmq-dev libffi-dev apt-get install -y libzmq-dev libffi-dev
pip install pyzmq msgpack-python pynacl pyyaml pip install pyzmq msgpack-python pynacl pyyaml psutil

@ -0,0 +1,2 @@
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
Loading…
Cancel
Save