https://github.com/quark-zju/pingstat
Draw ping statistics using RRDTool and ruby.
https://github.com/quark-zju/pingstat
Last synced: 3 months ago
JSON representation
Draw ping statistics using RRDTool and ruby.
- Host: GitHub
- URL: https://github.com/quark-zju/pingstat
- Owner: quark-zju
- License: mit
- Created: 2012-08-22T10:50:06.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T15:45:28.000Z (over 10 years ago)
- Last Synced: 2025-01-08T08:45:52.839Z (5 months ago)
- Language: Ruby
- Size: 219 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Draw ping statistics using RRDTool and ruby.

Dependencies
============
* ruby (1.8 or 1.9)
* librrd-ruby (should support RRD.xport)
* ping (\*nix version)Usage
=====
Just run:./pingstat.rb [host_name]
Pictures and rrd files will be written in current directory.
If you want to run pingstat as a daemon, check `keep.sh`.
Configuration
=============By default, pingstat writes 3 pictures every minutes: 2 hours, 1 day and 2 weeks.
To change this, just edit `INTERVAL = [...]` in `pingstat.rb`.