Browse Source

Installation steps and bugfixes

develop
Sven Slootweg 9 years ago
parent
commit
11eb813164
  1. 1
      ccollectd/ccollectd
  2. 1
      ccollectd/config.yaml.example
  3. 2
      cstatsd/config/cstatsd.yaml.example
  4. 2
      deps.sh
  5. 2
      install-steps.txt

1
ccollectd/ccollectd

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

1
ccollectd/config.yaml.example

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

2
cstatsd/config/cstatsd.yaml.example

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

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

@ -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