Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pforret/mrtgobot
Robot script for a full MRTG installation: takes care of index, updates and rsync
https://github.com/pforret/mrtgobot
linux mrtg mrtg-format rsync statistics
Last synced: about 2 months ago
JSON representation
Robot script for a full MRTG installation: takes care of index, updates and rsync
- Host: GitHub
- URL: https://github.com/pforret/mrtgobot
- Owner: pforret
- License: mit
- Created: 2015-01-29T19:29:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-10-15T00:34:11.000Z (about 4 years ago)
- Last Synced: 2024-04-19T05:44:57.595Z (9 months ago)
- Topics: linux, mrtg, mrtg-format, rsync, statistics
- Language: PHP
- Size: 94.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MRTGOBOT
Robot script for a full MRTG installation: takes care of index, updates and rsync
## mrtgobot setup
* helps set up a minimal MRTG .cfg config file
* will ask for target folder, html output folder, rsync settings, ...
* will set up a list of localhost metrics for MRTG (cpu/mem/disk/netw)## mrtgobot run [target]
* run MRTG for target (typically every 5 minutes)
* target can be 1 `.cfg` file, or a folder of `.cfg` files## mrtgobot index [target]
* create HTML index files for target
* target can be 1 `.cfg` file, or a folder of `.cfg` files## mrtgobot rsync [target]
* rsync the HTML output of the target to a different server
* typical setup: a LAN server
* target can be 1 `.cfg` file, or a folder of `.cfg` files## mrtgobot crontab [target]
gives back a good suggestion for insertion into your cron jobs
* every 5 minutes for `mrtgobot run`
* 1/hour for `mrtgobot rsync`
* 1/day for `mrtgobot index`## mrtgobot probe [metric]
* allows for measuring server metrics and returnign result in MRTG compatible format
* metrics: cpu,mem,disk,network (OS independent)
* MRTG format = Extended MRTG TXT format
[I value]
[O value]
[uptime]
[description]
[...] (is not used by MRTG, but can contain useful extra information for testing)
[...]