-
Posts
120 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by atribe
-
-
Nice work. Definitely going to give this a try.
-
@Viaduct, that is awesome? Could you share the script? Maybe post it on GitHub or something?
Also, your crontab command?
I want to try this. It looks amazing.
-
There is an icon specified in the template. However it is a .svg
Ah so it is. I'll have to fix that.
-
For some reason the Grafana icon isn't showing on my Unraid Dashboard. Just shows as a broken img. I don't believe it's an issue with my server. All other dashboard icons are working.
I never set up an icon, so that's why it looks like that.
-
Just an update on things....
I nuked influxDB and unTelegraf, and the issue still persists. Made sure appdata was deleted for influx as well. I'm not really sure what is going on here now. I thought it would of been as simple as updating telegraf.
I'd be interested to know if anyone else can replicate this from a clean install of Influx and Telegraf.
I've tracked down the problem, and there is an easy work around.
The work around: in the influxdb admin interface run the following command: CREATE RETENTION POLICY "default" ON "telegraf" DURATION 30d REPLICATION 1 DEFAULT
The issue: Influxdb changed the name of the default retention policy to autogen. The image I'm using hasn't updated the telegraf.conf file it uses to reflect that. I've submitted a pull request, so they could fix it soon. Until then you can just create a retention policy named default.
I'm also planning on adding vanilla telegraf to community apps, however, this will require you to create your own telegraf.conf file. But this does let you be much more flexible, compared to using environment variables.
-
Thanks a bunch! Unfortunately it doesn't look like this fixed the issue. I'm still getting the "retention policy not found" error in telegraf log. Does influxDB have to be updated as well? I'm not sure what version the influxDB docker is on compared to what is out now. Thanks for looking into this!
Did you check to make sure you updated it properly? From the command line you can type "docker exec -it untelegraf bash" and then "telegraf --version". It should say "Telegraf - version 1.0.0".
You could try nuking influxdb and recreating it. Maybe the create statement from telegraf was botched and needs to be redone (I guess you could just delete the telegraf database in influxdb and then recreate your telegraf container.)
As far as the influxdb I have in the community apps it uses the alpine tag, which is at version 1.0.0.
-
Is there any chance we can get untelegraf updated to the latest version? I'm running into an issue with it outputting metric to influxDB. I found the following post which pretty much describes the change that was made....
https://github.com/influxdata/influxdb/issues/7242
Thanks for the heads up, the latest tag for that repo was still on 0.13.2. I switched it to use tag telegraf-1.0. You can refresh community apps or you can manually change the repo (use the advanced view) to appcelerator/telegraf:telegraf-1.0.
-
Hey there, this is great. I would like to get started on building a Grafana dash for unRAID that records historical data - this seems to be ideal for doing this.
atribe perhaps you should get a repository for peoples templates here and maybe a small how-to guide?
A how to guide would probably be a good idea. I'll see if I can come up with something soon.
-
Can we start a dashboard sharing repository also? I would like to produce this for myself also...
Do you mean a repo for the json grafana uses? I'm not sure what that would look like at the moment. But I did add influxdb and grafana to community apps. So its pretty easy to set this all up now.
-
Viaduct, I just added telegraf to the community apps. It uses environment variables so that you don't need a custom telegraf.conf file. Its working great for me, if you are still having problems with your setup you should give it a try.
-
Overview: Support for Docker images from atribe's repo.
Tutorial to use Grafana, Influxdb, and Telegraf in unRAID by PanzerschreckGER.
Influxdb:
Application: https://influxdata.com/
Docker Hub: https://hub.docker.com/_/influxdb/
GitHub: https://github.com/influxdata/influxdb
Grafana:
Application: http://grafana.org/
Docker Hub: https://hub.docker.com/r/grafana/grafana/
GitHub: https://github.com/grafana/grafana
Glances:
Application: https://github.com/nicolargo/glances
Docker Hub: https://hub.docker.com/r/nicolargo/glances/
GitHub: https://github.com/nicolargo/glances
apt-cacher-ng:
Application: https://www.unix-ag.uni-kl.de/~bloch/acng/
Docker Hub: https://hub.docker.com/r/sameersbn/apt-cacher-ng/
GitHub: NA
untelegraf:
Application: https://influxdata.com/time-series-platform/telegraf/
Docker Hub: https://hub.docker.com/r/appcelerator/telegraf/
GitHub: https://github.com/influxdata/telegraf
telegraf:
Application: https://influxdata.com/time-series-platform/telegraf/
Docker Hub: https://hub.docker.com/_/telegraf/
GitHub: https://github.com/influxdata/telegraf
Note: You will need to place your own configuration file at /mnt/user/appdata/telegraf/telegraf.conf or the container will not start.
mineos-node:
Application: https://minecraft.codeemo.com/mineoswiki/index.php
Docker Hub: https://hub.docker.com/r/hexparrot/mineos/
GitHub: https://github.com/hexparrot/mineos-node
hddtemp:
Application: https://linux.die.net/man/8/hddtemp
Docker Hub: https://hub.docker.com/r/drewster727/hddtemp-docker/
GitHub: https://github.com/Drewster727/hddtemp-docker
apcupsd-influxdb-exporter
Application: https://github.com/atribe/apcupsd-influxdb-exporter
Docker Hub: https://hub.docker.com/r/atribe/apcupsd-influxdb-exporter
Github: https://github.com/atribe/apcupsd-influxdb-exporter
Credit: I didn't create any of these applications or images, I just created the xml template.
Changelog: 2016-08-31 - Added Glances and Apt-cacher-ng. 2016-09-02 - Added Influxdb and Grafana. 2016-09-06 - Added Telegraf that uses environment variables. 2016-09-11 - Added standard Telegraf. 2016-09-24 - Added Node.JS MineOS. 2017-11-10 - Added link to tutorial for telegraf, influxdb, and grafana. 2018-05-26 - Added hddtemp 2019-01-22 - Added apcupsd-influxdb-exporter
- 2
-
@majestic I've attached a screenshot of my grafana query. In short it is simply plotting the usage of /mnt/user.
I also get the error you've seen, but its only there until the page finishes loading all of the metrics. I've seen some of the gauge panels not work after I've edited them until I save, go to a different dashboard and then go back.
Also, I fixed my network output by changing this docker container from --net="bridge" to --net="host".
-
This is my docker run command:
docker run -d --name="telegraf" --net="bridge" --privileged="true" -e HOST_PROC="/rootfs/proc" -e HOST_SYS="/rootfs/sys" -e HOST_MOUNT_PREFIX="/rootfs" -e HOST_ETC="/rootfs/etc" -e TZ="America/Denver" -v "/mnt/user/appdata/telegraf/telegraf.conf":"/etc/telegraf/telegraf.conf":ro -v "/proc":"/rootfs/proc":ro -v "/":"/rootfs":ro -v "/var/run/docker.sock":"/var/run/docker.sock":ro -v "/sys":"/rootfs/sys":ro -v "/etc":"/rootfs/etc":ro telegraf
This requires you to put in your own telegrafl.conf file at /mnt/user/appdata/telegraf/telegraf.conf
This has been working for me. The only thing that doesn't look right is my network sent and received. Haven't figured that out yet. But everything else is accurate.
-
Can you share a screenshot of your volume mappings and everything else? Or maybe the xml template file you used? I've tried with the official telegraf docker image and I'm not getting any data into influxdb. I now have the host 'unraid' but no data associated with it.
-
Have you seen this post: http://lime-technology.com/forum/index.php?topic=49481.msg474673#msg474673
I haven't seen that post. My google fu is apparently lacking. That looks like a promising solution. Going to try that tonight.
Yup, that fixed it. As a tip to future peoples, the line you need to add (in red in the post) is to /boot/syslinux/syslinux.cfg. The underlined red text hides that there is an underscore, so the red text is mpt3sas.msix_disable=1.
Thanks for the help!
-
Have you seen this post: http://lime-technology.com/forum/index.php?topic=49481.msg474673#msg474673
I haven't seen that post. My google fu is apparently lacking. That looks like a promising solution. Going to try that tonight.
-
I'm almost certain I had some hard drives run to the M1015 before I switched to a VM. Its been a couple weeks, so I'm not 100% sure, but like 90% it worked on bare metal.
I guess I can try an older version of ESXi...
-
I am running unRAID in ESXi 6 update 2. i5-6600, Z710A SLI Plus motherboard.
I had the M1015 flashed to p20 (newest IT mode firmware) with no LSI BIOS.
Problem: No drives are available in unRAID.
The drives are available in the LSI BIOS (flashed one on the card to check).
The drives are available in ESXi when the card is not set for passthrough.
The drives are available in a Windows 10 VM with the card passed to the vm.
This means the cables I have are correct. The card works.
What I've tried:
1. I followed the instructions in the LSI Controller FW update post (http://lime-technology.com/forum/index.php?topic=12767). I flashed the LSI MegaRAID to SAS2008(P11).zip No luck same as the p20 firmware i had on the card.
2. I've tried swapping the PCI-E slot the card is installed in, no luck.
3. I've passed through a old jmicron pci-e sata card to unraid and it could see those hard drives.
4. Changed the passthrough order so the LSI card would have a differnet pcie id (whatever those are called).
5. Tried the 6.2 beta version and that didn't change anything.
6. Tried booting from plop boot manager and from the prepared vmdk.
I am all out of things to try. Anyone have any more places I can look?
-
You guys are awesome. This was annoying me so much, and now eth0 is my motherboard's NIC.
Thank you!
Scripts for Server Monitoring using Influx DB and Grafana without Telegraf agent
in User Customizations
Posted
I just googled it and you can use nano if you call crontab using the following:
I tried it and it works.