dinger1986 / TRMM-Grafana

Grafana Dashboards setup and preconfigured to work with Tactical RMM
32 stars 17 forks source link

Gashboard wuill not load #2

Closed rwcloudridgeworks closed 3 years ago

rwcloudridgeworks commented 3 years ago

when following your instructions the dashboard does not load getting a This site can’t be reached

firewall open on port 3000

URL running is :- https://rmm.rwcloud.co.uk:3000/

dinger1986 commented 3 years ago

Can you telnet to the port from a machine in the same network? Have you opened the port on both the machine and your firewall?

rwcloudridgeworks commented 3 years ago

hi thank you its in a data center , I have made sure port 3000 is open on the server and the firewall

dinger1986 commented 3 years ago

Can you telnet locally?

rwcloudridgeworks commented 3 years ago

no seem not see image below image

but its in the firewall

dinger1986 commented 3 years ago

Ok.

I'll get some other commands for you to run later to troubleshoot further.

Daniel

rwcloudridgeworks commented 3 years ago

thanks

dinger1986 commented 3 years ago

whats the output of sudo systemctl status grafana-server

rwcloudridgeworks commented 3 years ago

tactical@localhost:~$ sudo systemctl status grafana-server ● grafana-server.service - Grafana instance Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2021-10-05 11:34:42 UTC; 2h 14min ago Docs: http://docs.grafana.org Process: 1354 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg:default.paths.data=${DATA_DIR} cfg:default.paths.plugins=${PLU> Main PID: 1354 (code=exited, status=1/FAILURE)

Oct 05 11:34:41 localhost systemd[1]: grafana-server.service: Main process exited, code=exited, status=1/FAILURE Oct 05 11:34:41 localhost systemd[1]: grafana-server.service: Failed with result 'exit-code'. Oct 05 11:34:42 localhost systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5. Oct 05 11:34:42 localhost systemd[1]: Stopped Grafana instance. Oct 05 11:34:42 localhost systemd[1]: grafana-server.service: Start request repeated too quickly. Oct 05 11:34:42 localhost systemd[1]: grafana-server.service: Failed with result 'exit-code'. Oct 05 11:34:42 localhost systemd[1]: Failed to start Grafana instance.

dinger1986 commented 3 years ago

so the service isnt running. what user did you run the install script as?

rwcloudridgeworks commented 3 years ago

tactical

dinger1986 commented 3 years ago

strange, is it debian or ubuntu?

rwcloudridgeworks commented 3 years ago

Ubuntu 20.04 its installed on same server as my RMM

dinger1986 commented 3 years ago

you could try running it again, other option is get in touch with me via tactical discord channel

rwcloudridgeworks commented 3 years ago

still does not work after install how do get in touch with me via tactical discord channel

dinger1986 commented 3 years ago

join discord and then join the tactical discord channel, I'm never far away

dinger1986 commented 3 years ago

quick question actually, what did you enter for these 2 steps

Enter the main domain setup ie rmm.yourdomain.com:

Enter the letsencrypt domain (if using txt acme e.g. example.com) or the frontend (as above) (if using certbot dns e.g. rmm.example.com):

rwcloudridgeworks commented 3 years ago

i used rmm.rwcloud.co.uk which is my front end rmm and rwcloud.co.uk that is my domain

dinger1986 commented 3 years ago

ok, catch you on discord then

rwcloudridgeworks commented 3 years ago

think its because this is not loading when doing install from jason file

image

dinger1986 commented 3 years ago

I have seen those errors before, if you get on discord happy remoting in and having a quick look

rwcloudridgeworks commented 3 years ago

ok please send me the link to the server group please

dinger1986 commented 3 years ago

its on the main page https://discord.gg/upGTkWp

dinger1986 commented 3 years ago

worked 100% fine, ran the install script, entered the domains into the correct place and it installed, cleared out the old dashboard files and updated the password and works fine

RavHilton commented 2 years ago

I'm seeing the exact same issue - Grafana is failing to load, similar (same, diff domain) setup as the OP tactical@tacticalrmm:~$ sudo systemctl status grafana-server ● grafana-server.service - Grafana instance Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2022-01-10 00:26:06 UTC; 3min 0s ago Docs: http://docs.grafana.org Process: 4769 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg Main PID: 4769 (code=exited, status=1/FAILURE) CPU: 188ms

Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 6. Jan 10 00:26:06 tacticalrmm systemd[1]: Stopped Grafana instance. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Consumed 188ms CPU time. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Start request repeated too quickly. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Failed with result 'exit-code'. Jan 10 00:26:06 tacticalrmm systemd[1]: Failed to start Grafana instance.

dinger1986 commented 2 years ago

What domain did you put in?