source: npl/monitoring/smokeping/smokeping-mail.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 834 bytes
  • lib/Smokeping.pm

    diff -rupN smokeping-2.4.2-orig/lib/Smokeping.pm smokeping-2.4.2/lib/Smokeping.pm
    old new sub check_alerts { 
    18091809                $line .= "[from $slave]" if $slave;
    18101810                    do_log("Alert $_ $what for $line");
    18111811                my $urlline = $line;
    1812                 $urlline =  $cfg->{General}{cgiurl}."?target=".$line;
     1812                $urlline =  $cfg->{General}{cgiurl}.$line.".html";
    18131813                my $loss = "loss: ".join ", ",map {defined $_ ? (/^\d/ ? sprintf "%.0f%%", $_ :$_):"U" } @{$x->{loss}};
    18141814                my $rtt = "rtt: ".join ", ",map {defined $_ ? (/^\d/ ? sprintf "%.0fms", $_*1000 :$_):"U" } @{$x->{rtt}};
    18151815                        my $time = time;
Note: See TracBrowser for help on using the repository browser.