[smokeping-users] Smoking alert To script always show exec failed

Bright Zhao bright at net2.io
Sun Sep 10 11:35:26 CEST 2017


Tried 2.6.8, the "to :|program"works, but is it means this feature get
dropped since 2.8.9?

Bright Zhao <bright at net2.io>于2017年9月10日 周日下午1:44写道:

> When alert happens, the debug log of smoking shows below:
>
> exec failed! at /usr/local/smokeping/bin/../lib/Smokeping.pm line 1894.
>
> But my script configuration pretty simple:
>
> /root/test.sh: (is actually do nothing)
> alertname=$1
> target=$2
> losspattern=$3
> rtt=$4
> hostname=$5
>
> Smokeping configuration:
> to = | /root/test.sh 2>/root/trace.log
>
-- 
Sent from iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20170910/968add95/attachment.html>


More information about the smokeping-users mailing list