Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teodesian/memmon
Monitor RSS using nothing but cron, awk, ps, sqlite and grafana
https://github.com/teodesian/memmon
Last synced: 28 days ago
JSON representation
Monitor RSS using nothing but cron, awk, ps, sqlite and grafana
- Host: GitHub
- URL: https://github.com/teodesian/memmon
- Owner: teodesian
- Created: 2022-06-27T18:02:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T14:49:55.000Z (over 2 years ago)
- Last Synced: 2024-03-18T15:31:47.485Z (8 months ago)
- Language: Shell
- Size: 164 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
memmon
======An sqlite database populated by cron, ps and awk
Made easy with writable views
Designed to be loaded into grafana (see the .json files herein) and filtered easily by process name via dashboard variables
Uses a recursive CTE to get around unhelpful var interpolation in the sqlite data source (see [here](https://github.com/fr-ser/grafana-sqlite-datasource/issues/90))
Pic related
![get you some](https://github.com/teodesian/memmon/blob/master/example.jpg?raw=true)
Installation
------------Plop the contents into /opt/memmon, `chown -R grafana:grafana /opt/memmon`
add to root's crontab to run it (I do every minute like so):
```
* * * * * /opt/memmon/gather_rss.sh
```From there, install the provided dashboard.json in this directory and observe charts.