Installation steps and bugfixes
This commit is contained in:
parent
e2c9097585
commit
11eb813164
|
@ -46,6 +46,7 @@ def heartbeat():
|
|||
|
||||
last_node_status[hostname] = up
|
||||
|
||||
send_message = False
|
||||
if status_changed:
|
||||
if up:
|
||||
msg_type = "up"
|
||||
|
|
|
@ -3,6 +3,7 @@ hostname: monitoring.cryto.net
|
|||
heartbeat:
|
||||
interval: 5
|
||||
timeout: 1
|
||||
attempts: 3
|
||||
|
||||
nodes:
|
||||
localhost:
|
||||
|
|
|
@ -4,4 +4,4 @@ pubkey: a266a0634790a79c6934385892f7c377d35b8f03b9c6ac7d5bfed4a94f93ba65
|
|||
autostart:
|
||||
- stats-processes
|
||||
- stats-ports
|
||||
- stats-machines
|
||||
- stats-machine
|
||||
|
|
2
deps.sh
2
deps.sh
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
# You need squeeze-backports if you run this on squeeze!
|
||||
apt-get install -y libzmq-dev libffi-dev
|
||||
pip install pyzmq msgpack-python pynacl pyyaml
|
||||
pip install pyzmq msgpack-python pynacl pyyaml psutil
|
||||
|
|
2
install-steps.txt
Normal file
2
install-steps.txt
Normal file
|
@ -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…
Reference in a new issue