linuxserver / docker-smokeping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to use the IRTT probe gives error

tslura opened this issue · comments

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:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /opt/smokeping:/config
- /opt/smokeping:/data
ports:
- 80:80
restart: unless-stopped


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

  1. Set a target that used that probe
  2. 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.

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

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.