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.
No description
21 Replies
DarthPorisius
DarthPorisius•2mo ago
@featheredtoast
featheredtoast
featheredtoast•2mo ago
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?
xboxfan101
xboxfan101OP•2mo ago
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.
featheredtoast
featheredtoast•2mo ago
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.
xboxfan101
xboxfan101OP•2mo ago
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.
No description
featheredtoast
featheredtoast•2mo ago
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
Just a baka
Just a baka•2mo ago
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).
featheredtoast
featheredtoast•2mo ago
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.
Just a baka
Just a baka•2mo ago
Alright, let me try to recall something.
Rex
Rex•2mo ago
>separate
FICSIT-Fred
FICSIT-Fred•2mo ago
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.
xboxfan101
xboxfan101OP•2mo ago
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.
featheredtoast
featheredtoast•2mo ago
🤔 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)
xboxfan101
xboxfan101OP•2mo ago
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.
featheredtoast
featheredtoast•2mo ago
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?
xboxfan101
xboxfan101OP•2mo ago
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
featheredtoast
featheredtoast•2mo ago
try with 172.17.0.1? and 8082 is the fakeserver
xboxfan101
xboxfan101OP•2mo ago
Ooooh okay. Well that explains a lot.
featheredtoast
featheredtoast•2mo ago
heh yea. I'm assuming that you want your .env to look like:
FRM_HOST=172.17.0.1
FRM_HOST=172.17.0.1
and that's it. *if you're indeed running your satisfactory game locally to wherever you're running the monitoring stack
xboxfan101
xboxfan101OP•2mo ago
Yeah that was it!! I can see it now, thank you so much!!
featheredtoast
featheredtoast•2mo ago
🎉 great no problem I've added an extra line in the readme about running linux local for future travelers. glad we got you sorted 🙂
Want results from more Discord servers?
Add your server