Jump to content

atribe

Community Developer
  • Posts

    120
  • Joined

  • Last visited

Posts posted by atribe

  1. On 1/29/2019 at 2:43 PM, Fiala06 said:

    How do you add MIBs to telegraf? I'm trying to add my UniFi and says I need to download them. I can't figure out where to place them.

     

    Here is the dashboard https://grafana.com/dashboards/1486

     

    I've tried to put them in the same dir as the conf but that didn't work. Kinda stuck.

     

    image.png.15aee4018e859e9cae7e218fa1d43309.png

     

     

     

    Don't know how to do that. I'd hit up the support link on the telegraf docker hub page or maybe their github page.

    • Like 1
  2. On 1/30/2019 at 1:33 PM, cammelspit said:

    Firstly, this isn't so much of a support need but rather a question. I have gotten this all up and running and I am super happy, thanks for that, and I have just installed the Plex Data collection docker. Thing is, the Plex data collection docker is using a LOT more CPU than Plex itself is when idle, is this normal? It seems like the data collection docker is spiking in tandem with Plex, however. So I assume it writes to the DB even on the slightest idle process in Plex? Is there to have it write less often, perhaps every 10 or 30 seconds? I think the constant and very often writing to the DB is the cause.

     

    Thanks again for making it slightly less of a hassle getting this going on unRAID. 👍

     

    Hee hee...

    https://snapshot.raintank.io/dashboard/snapshot/lfKTF3DcnAALRkF6aJyQzJjKV9NBayO3

    Not sure, I didn't create that particular container, just made it available on unRAID. Find the it on dockerhub or github and ask the creator there.

  3. 55 minutes ago, sminker said:

    HHDTemp docker question.

     

    I need to get the temps from nvme0 (m.2 cache). 

     

    I get all the sd** just fine in grafana. Assuming i need to add another parameter to the docker.

     

    Can I just put a comma? 

     

    EX:  -q -d -F /dev/sd*, -q -d -F /dev/nvme*

     

    Or should I make another HDDTEMP_ARGS variable and duplicate the command with the /nvme* at the end instead of the /sd*?

    Screen Shot 2019-01-27 at 3.00.16 PM.png

    Based on the wiki for hddtemp https://wiki.archlinux.org/index.php/Hddtemp, it looks like you just put 

    -q -d -F /dev/sd* /dev/nvme*

     

  4. 1 hour ago, atribe said:

    Ok, fixed the problem. There was a missing package in the requirements file, so it wasn't working.

    The author also added a new section in the config.ini file. This is optional, however, it will log a an exception to the console if you don't have it.

    [LOGGING]
    # Valid Options: critical, error, warning, info, debug
    Level = info

     

    • Like 1
  5. 19 minutes ago, cammelspit said:

    You ever get this working? I am attempting a new install and get the same error message.

    I was able to reproduce the error by not having the telegraf.conf file. If you don't have the file before you start it creates a folder named telegraf.conf. So you'll need to delete that folder and replace it with the file.

  6. 14 hours ago, dockerPolice said:
    
        "atribe's Repository": {
            "atribe/apcupsd-influxdb-exporter": [
                "Fatal: No valid Overview Or Description present - Application dropped from CA automatically - Possibly far too many formatting tags present",
                "No Icon specified within the application template"
            ],

     

    Aw shucks. Ok added a description and it is now appearing in community apps.

  7. Thought ya'll might be interested in a new docker app I added to community apps under the name apcupsd-influxdb-exporter.

    https://hub.docker.com/r/atribe/apcupsd-influxdb-exporter 

    This is a docker wrapper around a python script that gets metrics out of apcupsd and puts them in influxdb.

    I just barely uploaded the xml to github, so I'm not sure how long that process takes for it to show up. but I've been using it for a few days and it works great.

  8. 39 minutes ago, xxbryantd said:

    Im having issues getting telelgraf to start up, I attempted to start with the config file added and the settings changed needed for my server ip, but it says invalid parameter on start?

     

    74c34ef0796b9eb9c618acd5d5b0f8c9 (1).png

    Where is the error displayed? Is it that the docker container can't start or that telegraf is reading the config file and something is wrong in there. My guess is you have a typo of some kind in your telegraf.conf.

  9. 11 hours ago, atribe said:

    I guess I could, you'd have to copy down the config.ini file manually. I'll probably try it tonight.

    As a side note, i set the frequency of tests too high (like every 5 minutes) and it used up my 1 TB of data that Comcast allotted me. One of two free overages down the drain, oops.

    @ppunraid try out the docker xml https://github.com/atribe/unRAID-docker. It should be available on the Community Apps soonish.

  10. 27 minutes ago, ppunraid said:

    @atribe, I was looking for a speedtest docker that feeds into grafana and ran into a repo that you had created on github. I was wondering if you could build the xml file for unraid? 

     

    Thanks!

    I guess I could, you'd have to copy down the config.ini file manually. I'll probably try it tonight.

    As a side note, i set the frequency of tests too high (like every 5 minutes) and it used up my 1 TB of data that Comcast allotted me. One of two free overages down the drain, oops.

  11. 12 minutes ago, Vexorg said:

    I'm back to answer my own question. Seems like I'm a boob and forgot what I did when I first setup this docker way back. I guess I updated this docker and looks like anything that is installed into the docker is lost :(

    
    apk add --no-cache ipmitool

    This is what is needed to install the ipmitool into the docker.

     

    To the maintainer of this docker, is it possible to include this program in the base install?

    I don't maintain the docker image you'd have to go to the github page and raise an issue there. I just added the unrail xml template.

  12. 39 minutes ago, BelgarionNL said:

    Hi where is the database stored for influxDB? I think its in the docker.img but why? it will only increase the volume. why not save the databse to appdata?

     

    Just trying to figure out the logic behind it all.

    There is a default mapping to /mnt/user/appdata/influxdb from /var/lib/influxdb. That is where the data is stored.

  13. 9 minutes ago, loady said:

    hi,

     

    i have installed the minecraft docker, i noticed its very similar to another minecraft docker i tried, i am having the same issues as i had previously with other dockers, any minecraft servers i create and not surviving a reboot of unraid, i can see the servers if i FTP to server folders and they persist, just not in the GUI, its clearly something with my setup but i cant see it...

    i have it set to /mnt/user/appdata/minecraft and my appdata folder is set to cache only

     

    Sounds like your docker is not setup correctly. Do any docker containers persist? If not I'd check your docker settings to make sure they are similar to what I have.

    image.png.0c82893c8cee2524dc233dabb55462db.png

     

  14. For those using the instructions posted on reddit to set Grafana, InfluxDB, and Telegraf up found 

    The instructions for using hddtemp can be amended to just searching community apps for hddtemp and using the template I just uploaded (not sure the refresh cycle on CA so it might take some time to show up.) I basically just took the instructions on using docker hub and made an unRAID template out of it. Enjoy.

  15. On 5/1/2018 at 9:59 PM, Blaze9 said:

    Hi,

     

    I have InfluxDB/Grafana/Telegraf setup for system monitoring.

     

    My docker img has become very full due to InfluxDB logs (1.8GB/1.6GB json files). Is there any way to have this setup write to a different directory instead of /var/lib/docker/containers/xxxx?

     

    Thanks!

    Not sure off the top of my head. I'd suggest figure out where the logs are being written to and then add that as a path for the container to some place you like them to go.

  16. 18 minutes ago, djvj said:

    Had this docker working great until the last update on either the Grafana docker, or the InfluxDB docker. Not sure which one broke it. But I get a "cannot write to readonly database" error when I try to start Grafana.

     

    Anyone have a clue?

     

    Log:

     

    
    t=2018-05-07T00:22:38-0400 lvl=info msg="Starting Grafana" logger=server version=5.1.0 commit=844bdc53a compiled=2018-04-26T11:09:23-0400
    
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SERVER_ROOT_URL=http://192.168.1.3"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_PASSWORD=*********"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
    t=2018-05-07T00:22:38-0400 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana
    t=2018-05-07T00:22:38-0400 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
    t=2018-05-07T00:22:38-0400 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
    t=2018-05-07T00:22:38-0400 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
    t=2018-05-07T00:22:38-0400 lvl=info msg="App mode production" logger=settings
    t=2018-05-07T00:22:38-0400 lvl=info msg="Initializing DB" logger=sqlstore dbtype=sqlite3
    t=2018-05-07T00:22:38-0400 lvl=info msg="Starting DB migration" logger=migrator
    t=2018-05-07T00:22:38-0400 lvl=info msg="Executing migration" logger=migrator id="copy data account to org"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Skipping migration condition not fulfilled" logger=migrator id="copy data account to org"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Executing migration" logger=migrator id="copy data account_user to org_user"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Skipping migration condition not fulfilled" logger=migrator id="copy data account_user to org_user"
    t=2018-05-07T00:22:38-0400 lvl=info msg="Executing migration" logger=migrator id="create user auth table"
    t=2018-05-07T00:22:38-0400 lvl=eror msg="Executing migration failed" logger=migrator id="create user auth table" error="attempt to write a readonly database"
    
    t=2018-05-07T00:22:38-0400 lvl=eror msg="Exec failed" logger=migrator error="attempt to write a readonly database" sql="CREATE TABLE IF NOT EXISTS `user_auth` (\n`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL\n, `user_id` INTEGER NOT NULL\n, `auth_module` TEXT NOT NULL\n, `auth_id` TEXT NOT NULL\n, `created` DATETIME NOT NULL\n);"
    
    t=2018-05-07T00:22:38-0400 lvl=eror msg="Fail to initialize orm engine" logger=sqlstore error="Sqlstore::Migration failed err: attempt to write a readonly database\n"
    

     

    I'd suggest trying to recreate your influxdb. delete the current db in the apps folder and let it make a new one.

×
×
  • Create New...