You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When selecting defaults for everything, smokeping was only working for DNS probes. All other graphs for ping latency (Internet Sites/Europe/North America/DNS) were NOT populating.
To Reproduce
Go to 'Available Applications'
Click on 'Install' on smokeping
Click 'Next' for all the default options
Wait for some time
Check graphs on web portal of smokeping, they will be empty except DNS probes
Open shell for smokeping
Type su - abc -s /bin/bash to become the user running smokeping service
Type fping facebook.com
OBSERVE ERROR: You get fping: can't create socket (must run as root)
Expected behavior
The abc user which is configured to run smokeping shoule be able to use fping to generate graph data
To fix this I re-created the application and changed the following configuration options:
In "Security and Permissions" selected "Show Advanced Security Settings"
In "Security Context" selected "Allow Privilege Escalation" (default is NOT selected, which causes the problem)
Additional context
I went on the Discord support channel and they suggested I raise a bug. There are screenshots and analysis on support thread "smokeping does not ping" started 18 January 2022.
The text was updated successfully, but these errors were encountered:
SCALE version
TrueNAS-SCALE-22.02-RC.2
App Version
1.18.6_9.0.37
Application Events
N/A
Application Logs
N/A
Application Configuration
DEFAULTS IN EVERYTHING
Describe the bug
When selecting defaults for everything, smokeping was only working for DNS probes. All other graphs for ping latency (Internet Sites/Europe/North America/DNS) were NOT populating.
To Reproduce
su - abc -s /bin/bash
to become the user running smokeping servicefping facebook.com
fping: can't create socket (must run as root)
Expected behavior
The
abc
user which is configured to run smokeping shoule be able to usefping
to generate graph dataFIX FOR THIS
According to this bug filed in LinuxServer with title 'Fping Probe not functioning as non-root' the
fping
process is installed with special set-uid permissions and therefore requires that the privilege escalation is configured to be allowed. Truecharts does not do this by default.To fix this I re-created the application and changed the following configuration options:
Additional context
I went on the Discord support channel and they suggested I raise a bug. There are screenshots and analysis on support thread "smokeping does not ping" started 18 January 2022.
The text was updated successfully, but these errors were encountered: