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 = [email protected]
from = [email protected]

+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`;

}

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to