Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dundee/argos-plugin-monitoring
Monitoring plugin for Argos (BitBar)
https://github.com/dundee/argos-plugin-monitoring
Last synced: about 1 month ago
JSON representation
Monitoring plugin for Argos (BitBar)
- Host: GitHub
- URL: https://github.com/dundee/argos-plugin-monitoring
- Owner: dundee
- Created: 2017-04-14T22:38:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T09:22:38.000Z (over 7 years ago)
- Last Synced: 2024-11-20T11:02:20.637Z (about 1 month ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitoring plugin for Argos
## Available checks
* server load
* Wordpress site up-to-date## Requirements
* Python 2 or 3
* [Argos](https://github.com/p-e-w/argos) or [BitBar](https://getbitbar.com/)## Instalation
```bash
sudo pip install argos-plugin-monitoring
ln -s /usr/bin/argos-plugin-monitoring ~/.config/argos/monitoring.5m.py
```## Configuration
Configuration is stored in file `.config/argos/.monitoring-settings.py`
### Example config
```python
from monitoring import ERROR, WARNINGWORDPRESS_SITES = [
'example.com',
]# server: max load
SERVERS = {
'example.com': 4,
}CHECKS = [
'wordpress',
'server_load',
]CHECKS_ERROR_LEVELS = {
'wordpress': WARNING,
'server_load': ERROR,
}
```