Closed rodrigostival closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Unfortunately the logging for the script execution is lousy https://github.com/oetiker/SmokePing/blob/2.7.3/lib/Smokeping.pm#L1909-L1926 - could be any number of reasons it doesn't work and without some idea of the source of the issue there's no much we can do to troubleshoot.
Hi... Looking at the link below, this is different from the version that is running in my container... https://github.com/oetiker/SmokePing/blob/master/lib/Smokeping.pm#:~:text=foreach%20my%20%24addr,snpp%3A(.%2B)/%20)%20%7B
https://github.com/oetiker/SmokePing/blob/master/lib/Smokeping.pm
Is it not possible to update the version?
@rodrigostival I have nearly the exact same issue, albeit not in a container. I'm running smokeping 2.73 (which seems to be the latest Ubuntu will give me). I am similarly trying to execute a script (in my case just a shell script that shoots a notification to slack) - I get nearly the same error:
smokeping[9157]: exec failed! at /usr/share/perl5/Smokeping.pm line 1921.
I wonder, did you ever find a solution?
In my case, i had a leading space before the path to the script. Once I removed that, it executed fine.
Is there an existing issue for this?
Current Behavior
Hi
I´m triying setup to send alert through script.
The problem doesn´t start trigger. The log show the following error:
Docker LOG: “Alert someloss_maior is active for FACEBOOK loss: 10%(2/20) rtt: 12ms prevmatch: 1 comment: ANY LOSS exec failed! at /usr/share/perl5/vendor_perl/Smokeping.pm line 1922.“
Expected Behavior
After the start trigger should save to .log file and save to a file
I have another smokeping running bare metal and it's working as good the log below:
Thu 23 Mar 2023 10:42:47 AM -03 someloss_maior ISP.ISP_ASIAN.SG_Singapore loss: 10% rtt: 347ms 103.24.5.4
user@smokepingserver:/etc/smokeping/config.d$
Steps To Reproduce
I tested several images and still the problem. “Alert someloss_maior is active for FACEBOOK loss: 10%(2/20) rtt: 12ms prevmatch: 1 comment: ANY LOSS exec failed! at /usr/share/perl5/vendor_perl/Smokeping.pm line 1922.“
Doesn't save to file....
Environment
CPU architecture
arm64
Docker creation
Container logs