User Tools

Site Tools


docs:tips_n_tricks:smokeping.html
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


docs:tips_n_tricks:smokeping.html [14.03.2010 13:23 CET] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Smokeping ======
 +
 +===== EchoPing waittime configuration =====
 +
 +Smokeping will not accept fractional values for ''waittime'' like
 +
 +  :
 +  waittime = 0.1
 +  :
 +
 +allthough ''waittime'' ist defined to carry the value of the ''-w'' flag of ''echoping'' if the system supports usleep. The reason is some ignorance regarding this possibility. To use fractional values of waittime, the following patch to the Perl Module ''EchoPing.pm'' does the trick:
 +
 +  
 +  --- /usr/share/perl5/smokeping/Smokeping/probes/EchoPing.pm.orig        2006-10-28 11:52:37.000000000 +0200
 +  +++ /usr/share/perl5/smokeping/Smokeping/probes/EchoPing.pm     2010-03-08 18:27:00.000000000 +0100
 +  @@ -239,7 +239,7 @@
 +                  waittime => {
 +                          _doc => 'The "-w" echoping(1) option.',
 +                          _example => 1,
 +  -                       _re => '\d+',
 +  +                       _re => '[0-9.]+',
 +                  },
 +                  size => {
 +                          _doc => 'The "-s" echoping(1) option.',
  
docs/tips_n_tricks/smokeping.html.txt · Last modified: 14.03.2010 13:23 CET by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki