chiem
August 13, 2026, 8:56pm
1
When generating a graph for a custom timeframe, the form action links to "http://localhost/ .." instead of the actual host and port combination that's being used. Is there a setting to correct this or a way to get it to use a relative path instead?
Hi,
Could you give more details please?
We do not know what, where from and how you prepare that graph.
chiem
August 14, 2026, 6:04am
3
Just by clicking on any of the graphs until you get the option for a custom timeframe. For instance:
If I click on the "Generate!" button in the screenshot, it'll go the the above mentioned localhost url.
So could you explain how the problem is connected with Mikrotik as it seems to be a Smokeping problem.
Shouldn't you ask on Smokeping forum?
chiem
August 14, 2026, 8:21am
5
The problem is connected with Mikrotik because it's running on my Mikrotik device, which was set up using the app config feature in it, and I figured perhaps one of the settings in there is misconfigured or missing for the proper url to be used.
chiem
August 14, 2026, 8:45am
6
Ok, since I had to look into this myself:
This is a known issue at linuxserver, the container that's being used:
opened 12:55PM - 08 Sep 25 UTC
work-in-progress
### Is there an existing issue for this?
- [x] I have searched the existing iss… ues
### Current Behavior
When attempting to use the Generate function on any graph, you are redirected to localhost/{path} rather than the IP address or FQDN. I have tested this through reverse proxy as well as directly via IP address with the same result. Testing this on the host which is running the container works (obviously, as localhost is valid).
I have furthermore tried this with my own compose file as well as creating on a separate VM and using the compose file provided - same result.
If you modify the redirected URL and update it to IP/FQDN instead of localhost, the graph renders as expected.
### Expected Behavior
The graph generate function should generate a graph and redirect correctly, not to localhost.
### Steps To Reproduce
- Run Smokeping in Docker (run/compose).
- Choose any graph or destination.
- Enter any timerange or leave as is and click Generate.
- Observe redirect to localhost.
<img width="739" height="469" alt="Image" src="https://github.com/user-attachments/assets/dfde831e-628c-4467-97a5-c582d8f9b99f" />
<img width="1007" height="37" alt="Image" src="https://github.com/user-attachments/assets/c4570201-6e43-4722-a244-35db2765b240" />
### Environment
```markdown
- OS: Debian 12 (Bookworm).
- How docker service was installed: Docker repository via apt.
```
### CPU architecture
x86-64
### Docker creation
```bash
services:
smokeping:
container_name: "smokeping"
hostname: smokeping
image: "lscr.io/linuxserver/smokeping"
environment:
PUID: "1001"
PGID: "1001"
TZ: "Africa/Johannesburg"
networks:
- "smokeping"
healthcheck:
test: ["CMD", "curl", "-s", "-f", "-i", "http://localhost/smokeping/"]
interval: 60s
timeout: 15s
start_period: 15s
volumes:
- type: bind
source: /opt/docker/smokeping/config
target: /config
- type: bind
source: /opt/docker/smokeping/data
target: /data
ports:
# To be able to listen on port 80
- mode: host
published: 80
target: 80
protocol: tcp
restart: "unless-stopped"
deploy:
resources:
limits:
cpus: '0.50'
memory: 200M
pids: 50
security_opt:
- no-new-privileges:true
networks:
smokeping:
name: "smokeping"
enable_ipv6: true
```
### Container logs
```bash
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1001
User GID: 1001
───────────────────────────────────────
Linuxserver.io version: 2.9.0-r0-ls146
Build-date: 2025-08-26T20:42:48+00:00
───────────────────────────────────────
[custom-init] No custom files found, skipping...
Connection to localhost (::1) 80 port [tcp/http] succeeded!
[ls.io-init] done.
WARNING: Hostname 'ipv6.google.com' does currently not resolve to an IPv4 address
### parsing dig output...OK
Smokeping version 2.009000 successfully launched.
Entering multiprocess mode.
Child process 213 started for probe FPing.
FPing: probing 35 targets with step 300 s and offset 264 s.
Child process 214 started for probe DNS.
DNS: probing 14 targets with step 300 s and offset 201 s.
Child process 215 started for probe FPing6.
All probe processes started successfully.FPing6: probing 1 targets with step 300 s and offset 244 s.
/usr/sbin/fping -C 20 -q -B1 -r1 -i10 www.uea.ac.uk 208.67.222.222 www.indiana.edu twin-cities.umn.edu cam.ac.uk 9.9.9.9 4.2.2.1 jupiterbroadcasting.com cixp.web.cern.ch 1.0.0.1 ucsd.edu 2606:4700:4700::1001 208.67.220.220 4.2.2.2 youtube.com linuxserver.io 8.8.4.4 www.berkeley.edu 2620:fe::fe www.telefonica.de osuosl.org 8.8.8.8 google.com 2606:4700:4700::1111 1.1.1.1 web.mit.edu 2620:fe::9 149.112.112.112 facebook.com returned with exit code 512. run with debug enabled to get more information at /usr/share/smokeping/Smokeping.pm line 1837.
/usr/bin/dig @4.2.2.2 google.com returned with exit code 2304. run with debug enabled to get more information at /usr/share/smokeping/Smokeping.pm line 1837.
/usr/bin/dig @4.2.2.1 google.com returned with exit code 2304. run with debug enabled to get more information at /usr/share/smokeping/Smokeping.pm line 1837.
```
@MattKobayashi there submitted a PR to the upstream Smokeping folks, and it was merged on 2/19/2026.
Unfortunately, the upstream Smokeping at:
The Active Monitoring System
Had its last release, version 2.9.0 on 2/19/2025, a full year before.
So, everyone's just waiting for a new release of SmokePing.
So it is a container inside a MT device running as Smokeping is not a MT solution?
If yes, then how SK gets data from MT device?
What MT is responsible for?
How MT could set any data inside a container?
What "app feature" was used to configure MT devoice or maybe a SK itself?
No need to answer questions then
chiem
August 14, 2026, 8:49am
9
This app feature, in Winbox, which is also present in the text config under /app/config.
OK, just there was no container context mentioned for Smokeping so it was hard to guess.
But you normally don't submit bug reports to Canonical Ltd. when Firefox fails to render some webpage, although it comes preinstalled on desktop Ubuntu?
infabo
August 14, 2026, 10:25am
12
Some people probably do that as well.
chiem
August 14, 2026, 9:48pm
13
Are we not in the RouterOS Containers forum?
chiem
August 14, 2026, 9:52pm
14
If Firefox is unable to render a webpage repeatedly with a clear pattern to it that might suggest a misconfiguration, I might report that to Canonical.
Up until I looked into this myself, getting Smokeping working was merely clicking Enable in the app config section for that entry. So someone at Mikrotik went through to figure out what container to use, what environment settings to use, etc. So is it unreasonable to think that perhaps that person might be aware of other settings that may be the cause of that form action url being incorrect?
Yes, we are but there was no mention that your installation is done with container in Mikrotik
So many posts is placed in inappropriate sections that please forigive for asking for a bit longer context explanation type:
"I have installed Smokeping container in MT model XYZ but when .... the rest of your post ... maybe a little bit extended"
The original post looks more as targeted to Smokeping community than to Mikrotik container specialists.
chiem
August 24, 2026, 12:38pm
16
Apologies then for posting concisely in the correct place.