Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaroslaff/sensor
sensor for all remote checks for okerr monitoring
https://github.com/yaroslaff/sensor
check fault-tolerance monitoring network remote sensor
Last synced: 29 days ago
JSON representation
sensor for all remote checks for okerr monitoring
- Host: GitHub
- URL: https://github.com/yaroslaff/sensor
- Owner: yaroslaff
- Created: 2020-11-19T19:19:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-14T10:20:24.000Z (about 1 month ago)
- Last Synced: 2024-12-14T11:22:17.830Z (about 1 month ago)
- Topics: check, fault-tolerance, monitoring, network, remote, sensor
- Language: Python
- Homepage: https://okerr.com/
- Size: 129 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Okerr remote network sensor
# Install
~~~
PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin install git+https://github.com/yaroslaff/sensor/PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx reinstall okerrsensor
~~~or (old way):
~~~
pip3 install git+https://github.com/yaroslaff/sensor/
~~~configure `/etc/okerrclient.conf`
Prepare env config file:
~~~
root@deb10:~# cat /etc/okerr/env/sensor
[email protected]
RMQ_USER=okerr-rabbit-user
RMQ_PASS=okerr-rabbit-secret-password
RMQ_VHOST=okerr
RMQ_HOST=rabbitmq.example.com
~~~
# Run from shell~~~shell
$ cp .env-example .env
$ vim .env # Adjust settings
$ . .env
$ sudo sensor.py
20191228 01:09:35 started sensor [email protected]
~~~# Install as systemd service
~~~
mkdir /var/log/okerrcp /usr/local/okerrsensor/okerr-sensor.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable okerr-sensor
systemctl start okerr-sensor
~~~# Run on low-memory machines
Use `--oneprocess` option, or set env variable `SENSOR_ONEPROCESS` to any non-empty value (e.g. in `/etc/okerr/env/sensor`)# Build dist from source
~~~
git clone [email protected]:yaroslaff/sensor.git
python3 setup.py bdist_wheel
~~~# Other okerr resources
- [Okerr main website](https://okerr.com/)
- [Okerr-server source code repository](https://github.com/yaroslaff/okerr-dev/)
- [Okerr client (okerrupdate) repositoty](https://github.com/yaroslaff/okerrupdate) and [okerrupdate documentation](https://okerrupdate.readthedocs.io/)
- [Okerrbench network server benchmark](https://github.com/yaroslaff/okerrbench)
- [Okerr custom status page](https://github.com/yaroslaff/okerr-status)
- [Okerr JS-powered static status page](https://github.com/yaroslaff/okerrstatusjs)
- [Okerr network sensor](https://github.com/yaroslaff/sensor)