Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
test [2020/10/03 09:58] – ben | test [2020/11/12 10:54] – créée ben | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{blog> | + | is the new way to go for Smokeping under Windows |
+ | 1) smokewhat? | ||
+ | |||
+ | Smokeping(link) is a nice latency measurement tool, unfortunately it WAS only available for linux/ | ||
+ | |||
+ | SmokePing is a deluxe latency measurement tool. It can measure, store and display latency, latency distribution and packet loss. SmokePing uses RRDtool to maintain a longterm data-store and to draw pretty graphs, giving up to the minute information on the state of each network connection. | ||
+ | |||
+ | |||
+ | 2) What you need | ||
+ | |||
+ | - Perl (choose Perl 5.8.xxx MSI package for Windows) | ||
+ | Yeah Perl is cool and you can have a lot of fun using it | ||
+ | |||
+ | - RRDs module for Perl | ||
+ | This version works for sure, but feel free to download the latest | ||
+ | |||
+ | - fping for windows (thanks to Michael Parson) | ||
+ | |||
+ | - Smokeping | ||
+ | This version works for sure, but feel free to download the latest | ||
+ | |||
+ | - a text editor | ||
+ | There' | ||
+ | |||
+ | - a web server | ||
+ | Feel free to download, install, configure apache with cgi yourself, or use WAMP (the one I use), or whatever bundled apache/ | ||
+ | |||
+ | 3) What you do not need | ||
+ | |||
+ | - Money | ||
+ | all listed softwares are (at least) freeware | ||
+ | |||
+ | - A (linux/ | ||
+ | yeah dude, windows rulez da w0rld | ||
+ | |||
+ | 4) " | ||
+ | |||
+ | - Install Activestate Perl | ||
+ | - Install RRDtool for windows (unzip, and launch install.cmd) | ||
+ | - Unzip smokeping to C: | ||
+ | - Unzip fping for windows (make sure cygwin1.dll is in the same folder) to C: | ||
+ | - Install WAMP to C:\wamp | ||
+ | |||
+ | 5) Modifications | ||
+ | |||
+ | a) rename | ||
+ | - C: | ||
+ | - C: | ||
+ | |||
+ | b) edit | ||
+ | - C: | ||
+ | add (after line 5): use lib qw(C: | ||
+ | change (line 9): Smokeping:: | ||
+ | |||
+ | - C: | ||
+ | change (line 63): my $cfgfile = " | ||
+ | |||
+ | - C: | ||
+ | change (line 14): use Sys::Syslog qw(:DEFAULT setlogsock); | ||
+ | change (line 21): $ENV{LC_NUMERIC}=' | ||
+ | change (line 22): POSIX:: | ||
+ | change (line 2984): daemonize_me $cfg-> | ||
+ | |||
+ | - C: | ||
+ | change (line 515): ScriptAlias /cgi-bin/ " | ||
+ | change (line 521): < | ||
+ | |||
+ | c) move and rename | ||
+ | - Create folder c: | ||
+ | - C: | ||
+ | |||
+ | d) edit | ||
+ | - c: | ||
+ | change (line 1): # | ||
+ | change (line 5): use lib qw(/ | ||
+ | change (line 10): Smokeping:: | ||
+ | |||
+ | 6) Configuration | ||
+ | |||
+ | - Create folders: | ||
+ | C: | ||
+ | C: | ||
+ | |||
+ | - edit configuration file ( C: | ||
+ | |||
+ | owner = | ||
+ | contact = | ||
+ | mailhost = | ||
+ | #sendmail = / | ||
+ | imgcache = C:/ | ||
+ | imgurl = ../simg | ||
+ | datadir = \smokeping-2.0.8/ | ||
+ | piddir = C:/ | ||
+ | cgiurl = http:// | ||
+ | smokemail = C:/ | ||
+ | tmail = C:/ | ||
+ | |||
+ | # syslogfacility = local0 < = Comment this line!!!! | ||
+ | |||
+ | *** Alerts *** | ||
+ | to = | ||
+ | from = | ||
+ | |||
+ | template = C:/ | ||
+ | |||
+ | + FPing | ||
+ | binary = C:/ | ||
+ | |||
+ | title = | ||
+ | remark = | ||
+ | |||
+ | # google is for demonstrational purpose only; please refer to smokeping help to set your own targets | ||
+ | |||
+ | |||
+ | |||
+ | menu = Google | ||
+ | title =Google Connectivity | ||
+ | alerts = bigloss, | ||
+ | host = google.fr |