Grafana dashboard / FRM mod
https://github.com/featheredtoast/satisfactory-monitoring
I'd really like to use this dashboard, but I keep getting the message in the picture. I've gone over the install and checked that FRM is working with 'localhost:8080' in my browser. Grafana seems to be responding somewhat but I can't get any data at all. I get this message on reloading grafana but if I set the server to 'localhost:8080' the message clears but I still have no data.
I've tried entering 127.0.0.1:8080 to the server list as well but I feel like it's my lack of knowledge in building grafana that is stopping me at this point. I get docker up and see grafana listening on my ports. I'm not sure what I am missing in the article at this point or if it's my lack of knowledge around grafana and it's workings, just looking to get any help as after going over the guide multiple times I am not sure where to look or go to from here. Below are my file per the guide and showing the port is in use by grafana.
#####~/.local/share/Steam/steamapps/common/Satisfactory/FactoryGame/Mods/satisfactory-monitoring-main $ cat ../../Configs/FicsitRemoteMonitoring/WebServer.cfg
{
"Listen_IP": 127.0.0.1,
"HTTP_Port": 8080,
"Web_Autostart": true,
"Web_Root": "",
"WebSocketPushCycle": 5,
"SML_ModVersion_DoNotChange": "1.3.0"
}
######~/.local/share/Steam/steamapps/common/Satisfactory/FactoryGame/Mods/satisfactory-monitoring-main $
##### sudo lsof -i -P -n | grep 3000
grafana 762 grafana 7u IPv6 55226 0t0 TCP 127.0.0.1:3000->127.0.0.1:56124 (ESTABLISHED)
grafana 762 grafana 9u IPv6 4056 0t0 TCP *:3000 (LISTEN)
grafana 762 grafana 12u IPv6 48089 0t0 TCP 127.0.0.1:3000->127.0.0.1:54652 (ESTABLISHED)
grafana 762 grafana 13u IPv6 23283 0t0 TCP 127.0.0.1:3000->127.0.0.1:56126 (ESTABLISHED)
grafana 762 grafana 14u IPv6 23284 0t0 TCP 127.0.0.1:3000->127.0.0.1:56142 (ESTABLISHED)
GitHub
GitHub - featheredtoast/satisfactory-monitoring
Contribute to featheredtoast/satisfactory-monitoring development by creating an account on GitHub.
21 Replies
@featheredtoast
grafana stack running on the machine as the game? Dedicated server? What are your .env settings? Does it work if the mod listens on 0.0.0.0?
Same machine as the game I had not tried 0.0.0.0. No .env as I haven't gotten it working to mess with any notifications for discord. I do plan on putting this on a server with the game for friends too but just setting this up locally right now.
okay - the guide was written mostly with windows in mind; linux (desktop) is new territory for me so I'm not well versed in how that setup should look from docker's perspective. try giving listening on 0.0.0.0 a shot and see if you're able to grab stats after that.
Still nothing, was able to just check.
I can give windows a try actually since I will set it up there eventually anyway. I was going to use linux on my server was all, but I can dig around docker information for linux myself and see what I can figure out about the container there. Thanks for pointing me at something.
You can also see logs for everything with docker logs -f
And see if that doesn't point to any obvious errors
It sounds like the collectors can't ping your server not sure why
The server option should populate automatically if it's working
The dashboards are unfortunately poorly made and not updated for recent grafana versions anyway. I've imported them into a fresh grafana instance and have been fixing them for a few days. Also got a bunch of errors and misconfigurations from the start. So I wonder, does that docker-compose even work when launched?
Guess I'll man up and submit a PR some day, but now there are upstream changes to handle 😢
P. S. I'm running a Linux dedi, and there are little to none problems regarding the OS support.
P.P.S. The mod seems to ignore the changes in Listen_IP parameter, at least on Linux. It just binds to 0.0.0.0 / :::, which means you may connect to it using any IP address that your server has (including 127.0.0.1 and probably your external IP if present, so be careful in terms of security/firewall).
You're going to have to give me more feedback than "it's bad".
for me to do anything. screenshots, etc of what's bad about it.
Alright, let me try to recall something.
>separate
Please make your own thread, or simply right click this one and hit "follow post" if your issue is identical and you want to stay updated while it gets resolved.
I will have to try windows another day I don't know if it's not letting me post my error or a message, not sure why period works but the messages I have typed keep disappearing. In linux docker compose seems to assign by some default or other 127.0.0.11:53 and that was causing errors for the connection. I am now getting a 400 status on the queries in the logs and I haven't seen anything on how to fix right off for docker.
In linux the docker-compose.yml needs the FRM_HOST variable assigned in the .env file though it seems as that stopped it from trying 127.0.0.11:53.
Yeah I just can't post the error here for some reason.
Wound up being up late, got this running in windows just fine.
Something to note is in my linux system I can load the localhost:8080 or FRM dashboard just fine, wineserv seems to be listening on 8080 as well so not sure if the 400 is due to this in a linux environment where that is used. I feel a bit in over my head but I thought the graphs and data sheets were way to cool to pass up. At least I can have people install this if they want and help them since they wouldn't be using linux but I'll either play with this in linux more when I get something to be my server or when I feel like playing around on linux more.
🤔 I'm going to have to boot on linux one of these days and see what's stopping from it running like windows does
I've got it running on both separate server and windows standalone relatively smooth, but your setup is new to me
so,
host.docker.internal
doesn't exist on linux - you'd need to set FRM_HOST to be the docker host's IP address, generally 172.17.0.1
(though in my environment now I'm seeing it as 172.18.0.1
... YMMV)fakeserver-1 | 2024/11/11 16:19:19 [error] 42#42: *261 open() "/usr/share/nginx/html/data/getFrackingActivator" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getFrackingActivator HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:24 [error] 42#42: *262 open() "/usr/share/nginx/html/data/getPump" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getPump HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:24 [error] 42#42: *263 open() "/usr/share/nginx/html/data/getPortal" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getPortal HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:24 [error] 42#42: *264 open() "/usr/share/nginx/html/data/getHypertube" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getHypertube HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:24 [error] 42#42: *265 open() "/usr/share/nginx/html/data/getFrackingActivator" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getFrackingActivator HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:29 [error] 42#42: *266 open() "/usr/share/nginx/html/data/getPump" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getPump HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:29 [error] 42#42: *267 open() "/usr/share/nginx/html/data/getPortal" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getPortal HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:29 [error] 42#42: *268 open() "/usr/share/nginx/html/data/getHypertube" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /getHypertube HTTP/1.1", host: "172.18.0.1:8082"
fakeserver-1 | 2024/11/11 16:19:29 [error] 44#44: *269 open() "/usr/share/nginx/html/data/getFrackingActivator" failed (2: No such file or directory), client: 172.18.0.1, server: _, request: "GET /getFrackingActivator HTTP/1.1", host: "172.18.0.1:8082"
I'm sure if you poked around you might be seeing these too, I got in with Linux and data populates but it's very wrong. I couldn't use the server name at all either. I'm good with chalking this up to linux and variable issues and just using windows though.
that's expected fakeserver isn't updated with some new endpoints
also you don't need to use takeserver anymore, it's there for development+testing of dashboards without starting the game...
what are you setting as your .env?
Just the 172.18.0.1 IP for the docker container. This is the only error logged but I wasn't using fakeserver I would enter my server name for my game and nothing populated. But it populated some data just the correct values when I had it running. Like it showed some sites of production but not my main base in the map, it showed my power but only 4k not the 60k I have, etc. I don't see any other IP in my container logs. It also won't work with 8080 I have to use the IP and 8082 in the dashboard setting to get anything populated.
FRM_HOST=172.18.0.1
try with 172.17.0.1?
and 8082 is the fakeserver
Ooooh okay. Well that explains a lot.
heh yea. I'm assuming that you want your .env to look like:
and that's it.
*if you're indeed running your satisfactory game locally to wherever you're running the monitoring stack
Yeah that was it!! I can see it now, thank you so much!!
🎉 great no problem
I've added an extra line in the readme about running linux local for future travelers. glad we got you sorted 🙂