https://github.com/opsdis/heartbeat_monitoring
Monitor your VPN tunnels with heartbeats
https://github.com/opsdis/heartbeat_monitoring
heartbeat-monitor icinga2 nagios op5
Last synced: about 1 year ago
JSON representation
Monitor your VPN tunnels with heartbeats
- Host: GitHub
- URL: https://github.com/opsdis/heartbeat_monitoring
- Owner: opsdis
- License: other
- Created: 2020-06-15T12:05:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T12:42:33.000Z (almost 6 years ago)
- Last Synced: 2025-02-09T02:34:21.326Z (over 1 year ago)
- Topics: heartbeat-monitor, icinga2, nagios, op5
- Language: Python
- Homepage: https://opsdis.com/heartbeats-one-more-way-to-monitor-your-vpns/
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Heartbeats from remote servers can provide rapid alerting particularly over VPN tunnels
### Requirements:
- Redis on monitoring server or on local server reachable by remote server
- Python3 on monitoring server as well as remote server
## Components:
#### heartbeat_listener:
- Listens to heartbeats and sends them to the monitoring server
#### heartbeat_sender:
- Sends heartbeats to Redis on the monitoring server
### Installation:
- Install redis
- Install python module dependencies: `pip install -r requirements.txt`
- Customize heartbeat_listener.yaml and place on monitoring server
- Customize heartbeat_sender.yaml and place on remote server
- Run sender in the background on the remote server (supervisor?): `python3 heartbeat_sender.py`
- Run listener in the background on the local server (supervisor?): `python3 heartbeat_listener.py`
- Add a service with passive checks in Nagios and make sure to have that match your `heartbeat_listener.yaml` configuration `heartbeat_host` and `heartbeat_service`