atribe

Community Developer
  • Posts

    120
  • Joined

  • Last visited

Everything posted by atribe

  1. I just updated the xml template to now include the extra parameters by default. <ExtraParams>--user "$(id -u)"</ExtraParams>
  2. Try using InfluxDB Studio to trouble shoot the connection. https://github.com/CymaticLabs/InfluxDBStudio If you can figure out how to connect to it manually you should be able to figure the rest out.
  3. I just changed from telegraf:alpine to telegraf:latest in the xml, see if changing to that image fixes things.
  4. You can use this tool to view and manage influxdb database https://github.com/CymaticLabs/InfluxDBStudio/releases I use it and like it better than the command line.
  5. Probably the cost of switching the repo. See the bottom left of you screenshot? Libray/telegraf. You customized it. You might be able to go into the file system where that template info is stored and put the icon there.
  6. 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
  7. Do you have the WATTS variable set in the apcupsd-influxdb-exporter docker?
  8. 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"
  9. There is an open issue on github for this https://github.com/influxdata/influxdata-docker/issues/118 The solution is probably to make a custom image that uses telegraf as the base image and then adds ipmi-tool. But sadly, I don't have time for that at the moment.
  10. What is the error message it is giving now?
  11. You need to remove the trailing slash from /mnt/cache/appdata/telegraf/telegraf.conf/
  12. you need to rename that to remove the .txt and change the mapping to be /mnt/user/appdata/telegraf/telegraf.conf
  13. You need to create that path and put the file telegraf.conf in the folder and then map to just the file. Find the file on the telegraf github.
  14. https://grafana.com/docs/installation/docker/ Just add an environment variable that corresponds to the setting you want to change. In that url they use -e "GF_SERVER_ROOT_URL=http://grafana.server.name" So in unRAID just edit the container, hit add variable and add the variable that changes what you want.
  15. In the first site they have telegraf running on pfsense (where NUT is installed) and they are running a shell script to gather up the data, and that telegraf instance sends the data to influxdb. You could do something like that.
  16. Use environment variables. See https://grafana.com/docs/installation/docker/
  17. There I just merged his latest into the mine. The docker container will auto build and be ready soon.
  18. I made the docker container because the original creator hadn't made one. so no, there isn't a docker container for his repo.
  19. I'd go to the github repo for this, he helps out and I think may have already fixed this issue. https://github.com/barrycarey/Speedtest-for-InfluxDB-and-Grafana I may need to pull his branch into mine so I can get the latest changes he has.
  20. The script should work for you now. If you have any more issues let me know.
  21. Thanks for the PR. I also just pushed a change to apcupsd-influx-exporter that doesn't hard code any outputs from apcupsd. This should handle all configurations now. It also adds a few more tags and cleans up the code in general.
  22. Not at the moment. I have a solution in the works, but no ETA.
  23. The problem is that the current program is hard coded to some outputs from apcupsd. Your ups doesn't have the battery voltage output, so it is breaking. Your welcome to submit a PR to fix that problem to the github project https://github.com/atribe/apcupsd-influxdb-exporter. Its something I want to do, just don't have the time right now.