linuxserver / docker-smokeping

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

[BUG] fping not installed in base image #178

Closed bobbymac closed 3 months ago

bobbymac commented 3 months ago

Is there an existing issue for this?

Current Behavior

the current ipv6 probe for the default configuration calls for probe fping6 which is not installed on the base image.

++ GoogleSearchIpv6 menu = Google probe = FPing6 title = ipv6.google.com host = ipv6.google.com

root@6b179c80e6eb:/usr/sbin# ls
add-shell  checkgid      delgroup     fcgistarter  grpck         nanddump    pwck          rndc-confgen  ssmtp                   useradd
addgroup   chgpasswd     deluser      fping        htcacheclean  nandwrite   rdate         rotatelogs    sudo_logsrvd            userdel
adduser    chpasswd      envvars      groupadd     httpd         nbd-client  rdev          sendmail      sudo_sendlog            usermod
apachectl  chroot        envvars-std  groupdel     killall5      newusers    readahead     setfont       suexec                  vigr
arping     crond         ether-wake   groupmems    loadfont      ntpd        remove-shell  setlogcons    tsig-keygen             vipw
brctl      ddns-confgen  fbset        groupmod     logoutd       partprobe   rfkill        smokeping     update-ca-certificates  visudo
root@6b179c80e6eb:/usr/sbin# 

Expected Behavior

display ipv6.google.com graphs

Steps To Reproduce

Log in and check UI for ipv6.google.com

Environment

- OS:
- How docker service was installed:

docker run \
        -d \
        -e PUID=1000 \
        -e PGID=1000 \
        -e TZ=Etc/UTC \
        --restart=always \
        -v $DATA_DIR:/config \
        -v $DATA_DIR:/data \
        --expose=8080 \
        --name $CONTAINER_NAME \
        --net nginx-proxy \
        -e VIRTUAL_HOST=smokeping.<my domain>.com \
        lscr.io/linuxserver/smokeping:latest

### CPU architecture

x86-64

### Docker creation

```bash
docker run \
        -d \
        -e PUID=1000 \
        -e PGID=1000 \
        -e TZ=Etc/UTC \
        --restart=always \
        -v $DATA_DIR:/config \
        -v $DATA_DIR:/data \
        --expose=8080 \
        --name $CONTAINER_NAME \
        --net nginx-proxy \
        -e VIRTUAL_HOST=smokeping.<my doamin>.com \
        lscr.io/linuxserver/smokeping:latest

Container logs

no logs provided
github-actions[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

thespad commented 3 months ago

It looks like the Alpine build of fping supports IPv6. Can you try symlinking fping to fping6 and see if that works? If so we can add it to the image build.

bobbymac commented 3 months ago

I am running SmokePing on containerd and I never set up the VPC or ec2 instance for ipv6 support so regardless of "if" fping6 was installed or enabled, the rest of the environment isn't set up for ipv6.... I have now enabled IPV6 via click ops but haven't added it to the containerd network config yet. Once I do, I'll open a new issue.