Smokeping (demo) does all that. However, this includes multiple caveats. This is not out-of-the box solution for Windows. I have not tested this on Windows, but I'm using Smokeping for exactly same thing. To avoid installing on Windows, see bottom of this post.
- It's for unix based systems, so installing it to windows is not easy
- There's no GUI. All configuration goes to configuration file.
- Output should be accessed through web server/browser. Web server causes additional overhead.
- Installation script only supports smokeping 2.2.4, which is already 7 years old.
- But smokeping is not updated really often, 7 year old version is basically feature complete
- Modifying installation script and patches for newer version should be easy.
This old, and probably outdated blog post offers Windows installation instructions, quickly referenced below. Requires downloading installer/patch set, which might disappear. The patch set changes Unix paths to Windows paths.
- Install perl
- Install web server, for example wamp
- Configure
cgi-bin
support to your web server
- Download this installer/patch set
- unzip and run
perl install\ n\ patch.pl
. Downloads smokeping and patches files for Windows support.
Following steps are from this blog post:
- Test it by running
C:\smokeping-2.2.4\bin\smokeping.pl
on cmd.exe
- Wait for 15 minutes while smokeping pings predefined targets.
- Try opening
http://127.0.0.1/cgi-bin/smokeping.pl
- Configure autostart: add scheduled task for the same command, and option to run it on each startup.
- Modify
C:\smokeping-2.2.4\etc\config.dist
to suit your configuration. Restart smokeping after changes.
Pinging redefined targets is supported by default. For http requests, there's EchoPingHttp.
Alternatively you could install Linux to virtual machine. For example, install Debian with no graphical environment to VirtualBox. Disk usage is really conservative (by default, somewhere around 3MB/destination/probe, with one-year history). For memory, 256MB is easily enough if you're not planning to run anything else. Advantage of this approach is getting the newest version, and avoiding patching smokeping and installation/configuration hassles.
Installation in Debian:
sudo apt-get install smokeping
sudo vi /etc/smokeping/config.d/Targets
sudo /etc/init.d/smokeping reload
By default, smokeping is available at http://virtual_machine_ip/cgi-bin/smokeping.cgi
(replace virtual_machine_ip
with IP address of your virtual machine). Note that by default, you can only connect to VirtualBox machines from the host OS, not from another computer.
Yet another alternative is to buy Raspberry PI (30€/$25), and run smokeping on that. Do note that migrating database files (Round Robin Database, RRD) to different processor architecture is far from simple. If you don't mind losing history, you don't have to care about this.