dinger1986 / TRMM-Grafana

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

Script broken [Solved] #37

Closed TheTechnologyStudio closed 1 year ago

TheTechnologyStudio commented 1 year ago

Hello Dinger1986. Regarding what you said in the other ticket about the commenting or removing the update check function, I did that before and I also tried the update you did last night around 3 mins ago and it is giving this error:

thetechdev@tacticalrmm:~$ ./installg.sh ./installg.sh: line 1: unexpected EOF while looking for matching `)' ./installg.sh: line 2: syntax error: unexpected end of file

Screenshot_24

dinger1986 commented 1 year ago

Is there a need to open a new ticket and comment on the old one?

TheTechnologyStudio commented 1 year ago

I opened a new ticket before I realised I could comment on the closed one sorry.

dinger1986 commented 1 year ago

ok fair enough, just looking now

dinger1986 commented 1 year ago

try now please :)

TheTechnologyStudio commented 1 year ago

still the exact same error :(

dinger1986 commented 1 year ago

are you downloading again?

whats the output of ls -l

Do rm installg.*

Then wget https://raw.githubusercontent.com/dinger1986/TRMM-Grafana/main/installg.sh

chmod and run again

TheTechnologyStudio commented 1 year ago

seems to be working now. Maybe there was a hidden installg file as I had been manually deleting them before.

also not sure if this error matters. https://prnt.sc/WmGykysXQ9HL

TheTechnologyStudio commented 1 year ago

https://prnt.sc/3G7z4F9o4iWV

TheTechnologyStudio commented 1 year ago

A bunch of permission-denied errors can be accessed https://rmm.thetechnologystudio.com:3000

dinger1986 commented 1 year ago

also not sure if this error matters.

https://prnt.sc/WmGykysXQ9HL

That errors fine

TheTechnologyStudio commented 1 year ago

Accessing the site seems to be a my issue though not the script. http://192.168.1.9:3000/login works fine.

TheTechnologyStudio commented 1 year ago

il mark ticket as solved. Thank you.

dinger1986 commented 1 year ago

https://prnt.sc/3G7z4F9o4iWV

Might need to manually add the dashboards, or let me check could maybe use the update script to get them.

dinger1986 commented 1 year ago

Looks like the chown didn't work on /var/lib/grafana/dashboards