Ludditus

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Ludditus

  1. On 8/27/2022 at 1:38 PM, Jajunk88 said:

    So I tried all 3 ports on the UPS end plugged into my UDM router. I kept checking my UDM settings under "Wired" devices and never saw the UPS pop up in the menu, thus not getting on the internet. Not really sure how to get the UPS online. If this is an easy fix I'd love to go down this route, if it's a cumbersome process then it's not something I'll explore (it's a luxury). Thanks for your help here.

    My only other suggestion would be try to track down a manual for the UPS and see what it says about options for network monitoring.  And/or do some google searching for the UPS model number to see what you can find about that specific device.

  2. There are a couple ways to get the UPS data - USB connection or over the network.  Sounds like your UPS only has the network option.  You may need to connect the UPS directly to the network (router or switch) instead of to your server, then the server would point to the IP address of the UPS.  You can read about the different kind of connections at http://www.apcupsd.org/manual/#supported-upses-and-cables  -- sounds like you will be using SNMP.  The UNRAID UPS menu has options for ethernet/SNMP as well as the USB connection.

     

    Once you have the UPS data connected to UNRAID, telegraf should report it regardless of whether you are using a network or USB connection.

  3. Are you getting the UPS stats on the dashboard of your UNRAID server, like this?  image.png.2fb64fd3ce861d311eb3f63ac855d7e7.png

     

    If not, then you probably have some additional configuration to make sure that data is being received in UNRAID, if your UPS is capable of reporting and already connected to your UNRAID server via USB.  That's done on the Settings page under Systems Settings | UPS Settings.

     

    My recommendation would be to comment out that line until you have telegraf up and running - then you can experiment with changes to telegraf.conf and adding back in additional plugins by un-commenting those lines.

     

    Don't be afraid of editing the telegraf.conf file, it's pretty simple.  Most of it is just un-commenting sections that you want to add and changing default values/addresses to match your system. Just make sure you make a backup copy of a known working config file before you start editing, in case you need to roll back.  And, after each change you will either need to restart the telegraf service from the terminal, or restart the docker, to incorporate the change.

     

    Depending on your level of interest in Grafana/Influx, I found it very helpful to use InfluxDB Studio running on a Windows PC to see all of the measurements that were being stored in the database.  That let me see what was being recorded by telegraf in the database, which helped troubleshoot areas where I wanted to customize the UUD and other dashboards in Grafana.

    • Like 1
  4. On 2/26/2022 at 10:36 PM, falconexe said:

    Anyone know if the creator of Varken "Boerderij" is on the forums here?

    No idea, but I did get a response when I posted an issue to their Git a ways back. They didn't take up my request (to add a friendly name field in the config, in case of multiple Tautulli servers), but they did exchange a few comments about it.

  5. 14 minutes ago, falconexe said:

     

    Yeah right now I am focusing UUD 1.7 on native Grafana 8.4 support. I still do not see a compelling reason to go to InfluxDB 2.0 yet. Thanks for your reply!

     

    I just took a look at my Varken install and the retention policy was already on autogen with 7d shards, and I can get queries back as far as I want. I don't ever remember setting that policy explicitly, but I think I had manually created varken within the influx docker bash, since I wanted to have it alongside existing databases in the same container.  Maybe doing it that way instead of having Varken create it's own database avoided the 30d retention policy.

    • Thanks 1
  6. On 2/12/2022 at 10:01 PM, falconexe said:
    • So, does any one know WHY I would re-develop UUD 1.7 into "Flux" for InfluxDB 2.0?
    • What would be the benefit?
    • What are the opportunities with InfluxDB 2.0 and the "Flux" query language (QL)?
    • I have not deep dived into it yet, but for the needs and requirements of the UUD, I don't see this as a must have, YET. Unless of course "InfluxQL" becomes unsupported. In that case, I will have no choice.


    Let me know your thoughts.

     

     

     

    I'm not interested in upgrading to Influx 2.0 at this point. I've got a dozen-plus dashboards and I don't want to have to refactor them all to 2.0, so sticking with 1.7 is fine as far as I am concerned!

    • Like 1
  7. I think that the dashboard is designed for 1.x, but I haven't tested 2.0 at all.  If I recall, when the Influx upgrade got pushed out, a bunch of people had issues and rolled back to a 1.x version to keep things working.  Unless you really want to use Flux for your queries, Influx 1.x is probably more compatible with a lot of Grafana community dashboards, and better documented. I've stayed on 1.8 and have yet to see a compelling reason to upgrade as the older versions still get security updates.

     

    To get the specific Docker version in UNRAID, edit the docker options and put influxdb: 1.8 (or 1.10, whatever you want) in the Repository field.

  8. Mine uses between 700-1000MB of RAM for the 6 dockers that compose the UUD.  However, over 600MB of that is the Influx docker and I have a lot of devices other than UNRAID writing to my influx docker, so you may likely be around 300MB total.

     

    CPU load is between 1.5 to 3% load on a Core i7-4790. It's very periodic, certainly not much of a sustained requirement.

     

    Chrome tab to load it is about 195Mb, compared with 105Mb for this page.

    dockerram.jpg

  9. On 3/27/2021 at 3:19 PM, falconexe said:

    So I am messing with my personal dash and further tweaked the Plex Library stats. I added section totals stats panels, rearranged the furniture, consolidated, and changed the unit to "Locale format" to get the thousands commas. I think it looks great and will be adding this to UUD 1.7.


     <snip>
     

    And it goes without saying, you guys will do whatever you want with your Plex Library stats panels. I'm adding all this stuff as a foundation for your to build upon and to provide example code. If any of you have suggestions, I'd be happy to add them. Also, I would love to see how you guys have adapted my UUD for your personal use.

     


    I have gotten Varken/UUD working with multiple Tautulli servers, which are selectable as a variable in the dashboard. If anybody is interested in trying to do that, let me know and I can write up the steps.

     

    There is one current limitation, as far as I can tell - Varken can be configured to access multiple Tautulli servers but can only notate them as 1,2,...n.  To make that meaningful in the dashboard I had to use either rename transformations or name/value overrides to switch from '1' to the friendly name of the server.  The server name does not seem to be stored anywhere in the Influx table for Varken.


    UUD_2_Plex_servers.jpg.15898e5ff6790ddbe671cffa1a53d1fc.jpg      UUD_2_Plex_servers_2.jpg.ced968a1b21f1efb0b8a042e5685d3ee.jpg      Plex_Server_variable.jpg.14711bb263514283c0e43f1087fcaf74.jpg

    • Like 1
  10. 23 hours ago, falconexe said:

     

    It is one of 2 things.

     

    1. The query is off, and needs to be adjusted. Please post a screenshot of the actual query by editing the panel.

     

    2. Some dockers run on virtual networks inside of UNRAID, so IF they show up, they still won't report the correct true bandwidth. I have tested both host and bridge mode and neither solve the issue, but they do route the traffic differently though the internal virtual networks. Even I (the developer) have this issue.  If you look at the new network panel I added in version 1.3, and fire up Plex, you should see 1 or more networks reflect that traffic, it just won't say "Plex".

     

    That is why I am adding dedicated Plex monitoring to version 1.5. The network monitoring that I am releasing next is PERFECT...

     

    Thanks. I think the query is working correctly, as it does pares out most of the containers.  On a whim I switched my Deluge docker from host to bridge. Then I couldn't access the WebUI so I changed it back to host.  But, lo and behold, it was now reporting the TX/RX stats on the dashboard.

     

    Looking forward to 1.5!

  11. Thanks for the great dashboard!

     

    I have one weird situation - incomplete list of Docker containers.  For the Docker CPU and RAM graphs, I can see all 7 of my Docker containers.  For Docker Network TX/RX, I can only see 5 of the 7 (notably, Plex and telegraf aren't reporting).

     

    Is there a network setting in the containers themselves that is needed in order to report TX/RX via telegraf?  Does it matter if they are in host or bridge network mode?

     

    Thanks again!

    docker-UNRAID-grafana.PNG