scuppasteve Posted February 21, 2020 Share Posted February 21, 2020 Is there a way to specify drives that show up in glances? I would like to see my unraid array and cache pool space? Quote Link to comment
remati Posted February 28, 2020 Share Posted February 28, 2020 How do I go about pruning some of the old data in InfluxDB? Quote Link to comment
JaseNZ Posted February 29, 2020 Share Posted February 29, 2020 (edited) Anybody know about getting cpu temps from Telegraf into the database. Edit : Never mind got it sorted. Edited February 29, 2020 by JaseNZ Fixed Quote Link to comment
killeriq Posted March 1, 2020 Share Posted March 1, 2020 (edited) Hi guys, Please how do i add additional Plugins , themes into the Grafana Docker? Is is possible to extend to "online" library or each plugin needs to be copied somewhere into the docker? If so please how/where? EDIT Seems like found here https://grafana.com/docs/grafana/latest/administration/cli/#plugins-commands Docker tab - right click on Grafana and run Console, each plugin has also ready commands https://grafana.com/grafana/plugins/yesoreyeram-boomtheme-panel/installation All sorted One more question still persist if i can somehow extend the local repository - to be able to see online via UI somehow? Thanks Edited March 1, 2020 by killeriq Quote Link to comment
Alphahelix Posted March 9, 2020 Share Posted March 9, 2020 Hi all, I hope you can help me with telegraf, I cant seem to get it to get metrics from my eth0 or eth1 or br0. I followed the guide provided by atribe, yet not metrics is to be found I don't even have a header that could look like network statistics. I have mem, CPU, disk, docker etc but nothing about network. Funny thing... I can get the docker network usage, but I think it is snatched from the docker sub-system. /Alphahelix Quote Link to comment
JaseNZ Posted March 9, 2020 Share Posted March 9, 2020 56 minutes ago, Alphahelix said: Hi all, I hope you can help me with telegraf, I cant seem to get it to get metrics from my eth0 or eth1 or br0. I followed the guide provided by atribe, yet not metrics is to be found I don't even have a header that could look like network statistics. I have mem, CPU, disk, docker etc but nothing about network. Funny thing... I can get the docker network usage, but I think it is snatched from the docker sub-system. /Alphahelix Have you made sure [[inputs.net]] is uncommented. If you go to your grafana config file and look for the following and remove the two ## in front of [[inputs.net]] # # Read metrics about network interface usage # #[[inputs.net]] Quote Link to comment
Bitbass Posted March 11, 2020 Share Posted March 11, 2020 (edited) Working through moving my Grafana dashboard to Unraid and I'm having trouble getting a basic Unraid disk util graph to work. Is the Telegraf "disk" for the array? Or do I need something else to grab the array stats? I'm trying the "used_percent" and getting weird results. ***Edit - might have just figured it out. Doing a fstype instead seems to get the info I need. Edited March 11, 2020 by Bitbass Quote Link to comment
Bitbass Posted March 14, 2020 Share Posted March 14, 2020 For anyone looking for a way to enable anonymous access to Grafana (for kiosk displays, as an example), you don't have to modify the grafana.ini. Just add the following variable in the docker settings. Quote Link to comment
JaseNZ Posted March 18, 2020 Share Posted March 18, 2020 After passing my video card through to Telegraf and selecting the option for the gpu as below I get this error. Anybody able to assist in this. --runtime=nvidia is in the container settings so this has not seemed to have helped. Quote E! [inputs.nvidia_smi] Error in plugin: fork/exec /usr/bin/nvidia-smi: no such file or directory Quote # # Pulls statistics from nvidia GPUs attached to the host [[inputs.nvidia_smi]] # ## Optional: path to nvidia-smi binary, defaults to $PATH via exec.LookPath ## bin_path = "/usr/bin/nvidia-smi" # # ## Optional: timeout for GPU polling # # timeout = "5s" Quote Link to comment
tknx Posted March 20, 2020 Share Posted March 20, 2020 For telegraf - is there a clean way to get it to use the telegraf.d for additional plugins? I passed --config-directory /etc/telegraf/telegraf.d as a post argument, but then in logs I get: 2020-03-20T19:42:08Z I! Starting Telegraf 1.13.4 2020-03-20T19:42:08Z I! Using config file: /etc/telegraf/telegraf.conf 2020-03-20T19:42:08Z W! Telegraf is not permitted to read /etc/telegraf/telegraf.d ... all of the following are owned by nobody:users and have 777 permissions right now /mnt/user/appdata/telegraf /mnt/user/appdata/telegraf/telegraf.conf /mnt/user/appdata/telegraf/telegraf.d /mnt/user/appdata/telegraf/telegraf.d/etcetera.conf So I am unsure as to why it is not permitted to read the telegraf.d directory Quote Link to comment
jang430 Posted March 30, 2020 Share Posted March 30, 2020 (edited) Hi. I signed up at Grafana.com. I was wondering why username and password doesn't work under the webui of this plugin? [Solved] Sorry, got this figured out. u:admin p:admin Edited March 31, 2020 by jang430 Quote Link to comment
J89eu Posted March 30, 2020 Share Posted March 30, 2020 Hi, for the Telegraf docker, how can I install the input plugin APCUPSD? https://github.com/influxdata/telegraf/tree/master/plugins/inputs/apcupsd Seems it's part of the standard feature set but I can't see it in the telegraf conf file Cheers Quote Link to comment
atribe Posted March 30, 2020 Author Share Posted March 30, 2020 20 minutes ago, J89eu said: Hi, for the Telegraf docker, how can I install the input plugin APCUPSD? https://github.com/influxdata/telegraf/tree/master/plugins/inputs/apcupsd Seems it's part of the standard feature set but I can't see it in the telegraf conf file Cheers If you can't find it, just add it. [[inputs.apcupsd]] # A list of running apcupsd server to connect to. # If not provided will default to tcp://127.0.0.1:3551 servers = ["tcp://127.0.0.1:3551"] ## Timeout for dialing server. timeout = "5s" 1 Quote Link to comment
Bitbass Posted April 4, 2020 Share Posted April 4, 2020 Running Grafana and I'm having a problem with displaying to a Chromecast proxy. This is not a problem with the container, but rather a problem with the new version of Grafana. I want to do some troubleshooting and it was suggested I check the nginx access log. Where do I find that? I went into the console and looked in /var/log/grafana and it was empty. Quote Link to comment
Bitbass Posted April 4, 2020 Share Posted April 4, 2020 Checking on Telegraf and I'm having a problem there with the array utilization reporting. Where can I find the array percent utilization? My previous comment about using the mean of fstype isn't work right. I think it's averaging the disk utilization across all XFS disks. The math doesn't work out the same. It's coming up as 66% utilized when the array is actually close to 68%. Quote Link to comment
scubieman Posted April 9, 2020 Share Posted April 9, 2020 Trying to pass device /dev/nvme0n1 to grafana, but i cant see it in grafana, I get the error below when I just it -q -d -F /dev/* Quote Link to comment
WannabeMKII Posted April 11, 2020 Share Posted April 11, 2020 I've just replaced my UPS and the new UPS provides information that the old one didn't so Grafana should be more accurate. For example, nompower, loadpct, timeleft etc. However, something isn't quite right, as Grafana is actually reporting less and I'm thinking it's something to do with apcupsd still reporting the old information from the old UPS and not updating Influx with the new information? I've added a number of screenshots from what apcupsd shows, Grafana, Influx set up, Influx data sources and if I remove the nompower from the apcupsd-influx-exporter (this UPS reports nompower, the old on didn't), the log file. Can anyone assist please? Many thanks and stay safe! Quote Link to comment
axipher Posted April 11, 2020 Share Posted April 11, 2020 I believe its because your new UPS is reporting LOADPCT as "16.0 percent" instead of just "16.0". So your UPS is actually providing a String Value to the formula when it needs just an Integer or a Float number. You might have to dig in the Grafana Dashboard code and help files to figure out how to strip that string value of the " percent" from the end of it in that formula. Or maybe someone here can help with that. I had to do a custom User Script using CA User Scripts Plugin and the NUT-Settings Plugin instead of the built-in UPS Settings for my Eaton Rack-mount UPS because it was not providing any of the normally named tags and I had to modify all the Grafana charts to look for the new variables, but I didn't have to do any string manipulation like your new UPS would require. Hopefully I can at least point you in the right direction. Quote Link to comment
atribe Posted April 11, 2020 Author Share Posted April 11, 2020 2 hours ago, WannabeMKII said: I've just replaced my UPS and the new UPS provides information that the old one didn't so Grafana should be more accurate. For example, nompower, loadpct, timeleft etc. However, something isn't quite right, as Grafana is actually reporting less and I'm thinking it's something to do with apcupsd still reporting the old information from the old UPS and not updating Influx with the new information? I've added a number of screenshots from what apcupsd shows, Grafana, Influx set up, Influx data sources and if I remove the nompower from the apcupsd-influx-exporter (this UPS reports nompower, the old on didn't), the log file. Can anyone assist please? Many thanks and stay safe! Do you have the WATTS variable set in the apcupsd-influxdb-exporter docker? Quote Link to comment
WannabeMKII Posted April 11, 2020 Share Posted April 11, 2020 6 minutes ago, atribe said: Do you have the WATTS variable set in the apcupsd-influxdb-exporter docker? The old one I did, but this one I don't. If I add it, it now lets the docker start, but the charts don't update and I still see this in the logs; Quote Link to comment
WannabeMKII Posted April 11, 2020 Share Posted April 11, 2020 8 minutes ago, axipher said: I believe its because your new UPS is reporting LOADPCT as "16.0 percent" instead of just "16.0". So your UPS is actually providing a String Value to the formula when it needs just an Integer or a Float number. You might have to dig in the Grafana Dashboard code and help files to figure out how to strip that string value of the " percent" from the end of it in that formula. Or maybe someone here can help with that. I had to do a custom User Script using CA User Scripts Plugin and the NUT-Settings Plugin instead of the built-in UPS Settings for my Eaton Rack-mount UPS because it was not providing any of the normally named tags and I had to modify all the Grafana charts to look for the new variables, but I didn't have to do any string manipulation like your new UPS would require. Hopefully I can at least point you in the right direction. Ouch, that sounds complicated. I'm hoping there's a more 'straightforward' solution... Quote Link to comment
Greyberry Posted April 14, 2020 Share Posted April 14, 2020 Hi, I am moving from a native install (without docker) on a VM to this docker-image on UNRAID and so far everything is good. But I am not that experienced with docker, so I got this issue: In my original installation I made some edits in /etc/grafana/grafana.ini which I want to move to the docker-container as well. [analytics] reporting_enabled = false check_for_updates = false [security] admin_user = [censored] admin_password = [censored] [users] allow_sign_up = false [auth.anonymous] enabled = true org_name = Main Org. org_role = Viewer With this settings i managed that users could browse grafana without login, but login was required for editing the dashboards. In addition it turned off analytics. I know i can edit the file also within the docker-container but as far as I know, this is not the proper way to do it. is it? The part that the admin password is set via "Container Variable" is especially confusing for me. Now every username does work, as long as the admin-password is right.!? Quote Link to comment
atribe Posted April 14, 2020 Author Share Posted April 14, 2020 10 minutes ago, Greyberry said: Hi, I am moving from a native install (without docker) on a VM to this docker-image on UNRAID and so far everything is good. But I am not that experienced with docker, so I got this issue: In my original installation I made some edits in /etc/grafana/grafana.ini which I want to move to the docker-container as well. [analytics] reporting_enabled = false check_for_updates = false [security] admin_user = [censored] admin_password = [censored] [users] allow_sign_up = false [auth.anonymous] enabled = true org_name = Main Org. org_role = Viewer With this settings i managed that users could browse grafana without login, but login was required for editing the dashboards. In addition it turned off analytics. I know i can edit the file also within the docker-container but as far as I know, this is not the proper way to do it. is it? The part that the admin password is set via "Container Variable" is especially confusing for me. Now every username does work, as long as the admin-password is right.!? Use environment variables in the docker setup to set all of these. See the docs: https://grafana.com/docs/grafana/latest/installation/configuration/#configure-with-environment-variables Quote Link to comment
Greyberry Posted April 14, 2020 Share Posted April 14, 2020 That worked, thank you! 🙂 Quote Link to comment
WannabeMKII Posted April 16, 2020 Share Posted April 16, 2020 Just a quick update from my side, but totally out of the blue, the graphs have all updated? A few dockers have updated over the last few days and I hadn't checked before now, but great to see all the data populating! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.