linuxserver / docker-smokeping

GNU General Public License v3.0
346 stars 95 forks source link

Trying to use the IRTT probe gives error #133

Closed tslura closed 1 year ago

tslura commented 2 years ago

linuxserver.io

Using the latest image per 8 Aug 2022

root@gnafle:~# cat /opt/docker-compose.yml

version: "2.1" services: smokeping: image: lscr.io/linuxserver/smokeping:latest container_name: smokeping environment:


Expected Behavior

The config check should be Okay

Current Behavior

Config check failes

Steps to Reproduce

  1. Set IRTT in Probes +IRTT

    binary = /config/irtt # mandatory forks = 5 offset = 50% step = 300 timeout = 15 tmpdir = /tmp/smokeping-irtt

    length = 172

  2. Set a target that used that probe

  3. run config check. IRTT.pm lacks some Perl modules.

root@a92439d422b4:/config# /usr/bin/smokeping --config=/etc/smokeping/config --check require Smokeping::probes::IRTT failed: Can't locate Path/Tiny.pm in @INC (you may need to install the Path::Tiny module) (@INC contains: .. /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Smokeping/probes/IRTT.pm line 22, <$fh> line 18. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Smokeping/probes/IRTT.pm line 22, <$fh> line 18. Compilation failed in require at (eval 62) line 1, <$fh> line 18.

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 1 year ago

can you test by doing docker exec -it smokeping apk add --no-cache perl-path-tiny and seeing if the IRTT probe works? if it does, we can pretty easily correct this.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity