[smokeping-users] rtt alert granularity
G.W. Haywood
ged at jubileegroup.co.uk
Tue Jan 19 16:45:53 CET 2010
Hi there,
On Tue, 19 Jan 2010, Thomas Klein wrote:
> This looks like the related code in sub check_alerts:
> my $rtt = "rtt: ".join ", ",map {defined $_ ? (/^\d/ ?
> sprintf "%.0fms", $_*1000 :$_):"U" } @{$x->{rtt}};
>
> I have changed sprintf "%.0fms" to sprintf "%.3fms" and do now get
> results lke
> rtt: 0.260ms
> as needed.
>
> Will this change have any unwished side effects?
Except that the text might not all fit on the display, I don't think so.
--
73,
Ged.
More information about the smokeping-users
mailing list