[smokeping-users] Alerts failed after upgrade 2.6.9

k simon moremore2 at outlook.com
Thu Oct 30 15:18:23 CET 2014


Hi,Lists,
   Smokeping Alerts failed after upgrade to 2.6.9, it's worked well 
before. I checked the log and it's showed as below:

Thu Oct 30 21:42:19 2014 - Alert connectionLost is active for test.test
Thu Oct 30 21:42:19 2014 - exec failed! at 
/usr/local/smokeping/lib/Smokeping.pm line 1893.

   Does someone see the same problem like me ?


Regards
Simon




P.S.
My Configuation:
*** Alerts ***
to = moremore2 at outlook.com
from = smokealert at example.com

+connectionLost
type = loss
# in percent
pattern = >80%, >80%, >80%
to = |/usr/local/etc/smokeping/conf.d/scripts/speak.pl
comment = connection lost




the script speak.pl
#!/usr/bin/perl -w
my 
($name_of_alert,$target,$loss_pattern,$rtt_pattern,$hostname,$EdgeTrigger) 
= @ARGV;

for( $i=1; $i<=1; $i++)
{

     `/usr/local/bin/mpg123 -q -b 1024 /medias/$target.mp3`;

}



More information about the smokeping-users mailing list