Jump to content

falconexe

Community Developer
  • Posts

    789
  • Joined

  • Days Won

    15

Posts posted by falconexe

  1. 9 minutes ago, danktankk said:

    It isnt doing it for all my drives, but its a heck of a lot closer than i was!  thank you brother ;)

     

    Nice. Not sure why all your drives aren't showing up, all 33 of mine do. We can look more into this over the weekend. I have to get back to work. Later brother.

     

    EDIT: Thanks for finding that typo (from your DM). I'll get that fixed in version 1.4.

     

    Congrats, you are now an Official UUD CONTRIBUTOR (You are now listed as such on Post #1) 🤝🥳

    • Like 1
  2. 6 minutes ago, danktankk said:

    i cant find the post where you show how to update JSON for a single panel.  its late and im getting crosseyed.  I would like to get this right tonight..  but it can wait obviously...

     

    The way that the post argument for me is done is valid (minus lm_sensors) - that didnt work out well.  It does not have to have apk in it as my :latest repo does not like that.  

     

    Page 10. Look for the green code...

     

  3. 7 minutes ago, danktankk said:

    I have the post arguments in place, however it required some tweaking (ty @HalienElf) since telegraf would not start at all without it:

     

    I use telegraf:latest repo and this is probably why.  See below for a different way to implement.

     

    bash -c 'apt update && apt install -y smartmontools && lm_sensors && telegraf'

     

    lm_sensors is the latest effort for fans and CPU and is not integral to making S.M.A.R.T. work and doesnt appear to be working right now anyway.

     

    BTW, drive life now makes much more sense and I do like that stat!  lol

     

     

     

    You can run that bash command via the UNRAID terminal, or right click the docker and click console and skip the front part of those commands, to initially install the addon plugins.

     

    image.png.df13f6539a12d0b3f94d48d673d5ef13.png

    image.png.ce473bae6f18d159b95cfb36bddd6375.png

     

    Keep in mind, that unless the Post Arguments (matching all plugins you have added and updated) are in place, if you update the Telegraf docker, all that stuff will not persist. So it is really important.

     

    /bin/sh -c 'apk update && apk upgrade && apk add ipmitool && apk add smartmontools && telegraf'

     

    image.png.e32a89672b4d52c1ab2ba2cf714a9867.png

     

    Glad drive life makes sense now.

  4. 20 minutes ago, danktankk said:

    Great work on this dashboard!  The only thing I cant seem to get to display properly - aside from ipmi (which will be corrected/modified for non-server boards in 1.4) - is the Drive S.M.A.R.T. Health Overview.  NOTHING shows up in this panel.  Bah! 

     

    And believe me, I have tried to correct.  The other smart panel does display as shown below.

     

    image.thumb.png.674f5fd8315d6d1e54185311b6bbb9bf.png

     

    Also, "Drive Life" doesn't really separate anything.  Is this intentional?  How is this useful?

     

    image.thumb.png.3a6683af3e9e093aa05f9c161d752735.png

     

    so back to the smart health overview...

     

    image.png.f209e1d7baad74619c7af129954981b5.png

     

    Any ideas to help get this panel working?  Again, great effort on this dashboard!

     

     

    Let's unpack this real quick. One at a time.

     

    So did you add the plugin and configure the Docker Post Arguments (See Post #1). This is separate from the Telegraf Config. That would prevent S.M.A.R.T. from displaying correctly.

     

    BUT....My money says it's the query. Your query DOES NOT look anything like the one I released in Version 1.3. This is one of the most complex queries in the dashboard. See Below:

     

    image.thumb.png.dc923196836f719b7fbe570bdc3d9d78.png

    image.thumb.png.570801c976b7834cf459fb48033dc8b9.png

    image.thumb.png.fe8e3beb7a8070ca43a6a9243ace6083.png

     

    So step one, get that fixed. If you need the JSON code just for that one panel, let me know. A few pages back I explained to someone else how to update JSON for a single panel so that will save you a bunch of time. I'd paste it here, but it is a few hundred lines (1,169).... OH what the heck, here it is in a txt file. You know what to do (if you read that previous post).  Right Click the Panel > Inspect > Panel JSON 👍

     

     Drive S.M.A.R.T. Health Overview

     

     

    The Drive Life is an Aggregate of the Power On Hours from the the S.M.A.R.T. panel above (which you can't see). Just a fun panel for stat junkies. So yes, this is by design. I like seeing the youngest/oldest drives and the fact that they have been running for a combined 80+ years in my case is hilarious. 😅

     

    image.thumb.png.6e2e1d7ed48b17dcff053692dccf7863.png

     

    image.thumb.png.00a0abdc8dd0d2041ef48f5c56fd4101.png

     

    Report Back.

  5. 2 hours ago, Stupifier said:

    The UUD all-in-one docker container.....work of art! So simple...and I can tell you guys poured some time into this shit to make it ez for someone to just fire it up and go! Thank you

    Ha ha. You're welcome. Are you using "Grafana Unraid Stack" (GUS) too? If so, that is the work of @testdasi. The UUD was created by me and inspired by @GilbN's original template. So really it is 3 people coming together randomly for the masses.

     

    @falconexe Primary UUD Developer (Me)

    image.png.8890affc656c196ed49f59d33f5f298d.png

     

     

    @GilbN Co UUD Developer

    image.png.d4eff6c139161f2ebba343a6ecdc282a.png

     

     

    @testdasi Primary GUS Developer

    image.png.87212ee5640bac036643b5bf45380ee0.png

     

    Recently testdasi incorporated the UUD into GUS (with my permission), so yeah, I guess it is all of us now in a way 😂. GUS wasn't even a thing when I first developed this a few weeks back, at least I didn't know about it until recently. The timing of this is crazy, because I was just focused on the actual UUD Dashboard. GUS was a separate effort to make the install process easier. Anywho, it is pretty cool that we all went nuts around he same time and the stars aligned for everyone.

     

    Yeah, this whole thing is awesome. I'll keep working to make UUD better. testdasi will need to keep updating GUS with my latest versions for this all to stay in sync! So UUDGUS or GUSUUD? 😆

     

    Glad you are loving it. Makes the long nights worth it. 🤜🤛

  6. 1 hour ago, FreeMan said:

    A consideration for those of us who don't have 43" 4k monitors (which I would imagine to be the significant majority of your audience ;)).

    Remove the word "Storage" from the top utilization boxen:

    image.png.30569f8ddf96fb533eea7aa1786d3ed1.png

    On my 24" 1920x1280 monitor, I see a series of "Array Storage ..." "Array Storage ..." because the titles are too long for the box size.

     

    The same is true for the Cache storage text:

    image.png.ca26532b3444d0ac6c679809e8f8b7ef.png

     

    Yes, I can edit the titles (and have done so for the first 2, leaving the rest as examples), but I think that the vast majority of folk will be able to figure out that an "Array Total" measured in "TB" refers to "storage" without having to be explicitly told.  And for those that can't, do you really want the support nightmares of them asking eleventy-seven bajillion questions? (He asks checking his post count on this thread, noting it's approaching eleventy-two bajillion... ;) )


     

    Makes Sense. Done. This will be released in Version 1.4.

     

    image.thumb.png.181492fa0966ae66b64e9252e9d7b031.png

     

     

    Congrats, you are now an Official UUD CONTRIBUTOR (You are now listed as such on Post #1) 🤝🥳

  7. Hey Everyone. Just wanted to let you know that I heavily updated the Dependencies section in Post #1 to be more detailed and easier to follow. If you are old or new, please have a look. In release 1.4, I will officially be adding support for the "Sensors" plugin as an alternate to IPMI for those that run on non server hardware. This will provide an alternate source for CPU/System/Auxiliary temps. Stay tuned...

    • Like 1
  8. 4 hours ago, shwa87 said:

    Thanks @falconexe - I'll check out that regex stuff and hopefully figure it out.

     

    @shwa87 Just wanted to point out that if you want to get this done in a quick and dirty way, you can always go the manual route. Some users prefer that explicit control over their dashboard. I know I did when I made version 1.0 and even had stuff still hard coded in version 1.1. I didn't start adding REGEX until version 1.2 (at GilbN's suggestion). Using REGEX allows the UUD to be dynamic and work on almost any system.

     

    However, there is nothing wrong with taking this dashboard and modding the crap out of it to your liking and needs. I encourage it. That's how you learn!

     

    So, just do this if you want to take a hard pass on REGEX 😂

     

    Edit the query as shown below, and Click on "Select Tag Value" to select your desired core in the drop down. Hit the + button to add new CPU cores. Always change the logic to OR as it defaults to AND. You want any of these cores (OR). You can't select ALL of these cores (AND) because no one core has ALL of those names. It has to do with database Boolean Operators/NAND logic.

     

    image.thumb.png.f6705ecace6fe292e2f34cb83980c360.png

     

    After clicking on "select tag value"

    image.thumb.png.8ba6d1f22fc6f59533ce3f755e57f573.png

     

    If you want to just use this now, paste the following code into the Panel JSON and save.

     

    image.thumb.png.b16baa1d0c3c6e58115266a132eef77b.png

     

    Copy the GREEN Code Below. Select All and Delete the Original JSON Code. Paste my JSON Code. Click Apply. And Viola! (Before you do this, save your dashboard so you can revert if something goes wrong).

     

    image.thumb.png.fadc9cb0fa0f53055940c3dfeea001a8.png

     

     

    NON-REGEX CPU 01 Code Below:

     

    {

      "aliasColors": {},

      "dashLength": 10,

      "datasource": "$telegrafdatasource",

      "description": "Note: This is a special CPU panel written especially for shwa87!",

      "fieldConfig": {

        "defaults": {

          "custom": {},

          "links": [],

          "mappings": [],

          "thresholds": {

            "mode": "absolute",

            "steps": [

              {

                "color": "green",

                "value": null

              },

              {

                "color": "red",

                "value": 80

              }

            ]

          }

        },

        "overrides": []

      },

      "fill": 4,

      "gridPos": {

        "h": 14,

        "w": 12,

        "x": 12,

        "y": 206

      },

      "id": 215,

      "interval": "30s",

      "legend": {

        "alignAsTable": true,

        "avg": true,

        "current": true,

        "hideEmpty": false,

        "hideZero": false,

        "max": true,

        "min": true,

        "rightSide": true,

        "show": true,

        "total": false,

        "values": true

      },

      "lines": true,

      "linewidth": 1,

      "links": [],

      "nullPointMode": "null",

      "paceLength": 10,

      "pluginVersion": "7.1.5",

      "pointradius": 5,

      "renderer": "flot",

      "seriesOverrides": [],

      "spaceLength": 10,

      "targets": [

        {

          "alias": "$tag_cpu",

          "dsType": "influxdb",

          "groupBy": [

            {

              "params": [

                "$__interval"

              ],

              "type": "time"

            },

            {

              "params": [

                "cpu"

              ],

              "type": "tag"

            }

          ],

          "hide": false,

          "measurement": "cpu",

          "orderByTime": "ASC",

          "policy": "default",

          "refId": "A",

          "resultFormat": "time_series",

          "select": [

            [

              {

                "params": [

                  "usage_idle"

                ],

                "type": "field"

              },

              {

                "params": [],

                "type": "last"

              },

              {

                "params": [

                  "*-1+100"

                ],

                "type": "math"

              }

            ]

          ],

          "tags": [

            {

              "key": "cpu",

              "operator": "=",

              "value": "cpu0"

            },

            {

              "condition": "OR",

              "key": "cpu",

              "operator": "=",

              "value": "cpu1"

            },

            {

              "condition": "OR",

              "key": "cpu",

              "operator": "=",

              "value": "cpu2"

            },

            {

              "condition": "OR",

              "key": "cpu",

              "operator": "=",

              "value": "select tag value"

            }

          ]

        }

      ],

      "thresholds": [],

      "timeRegions": [],

      "title": "CPU 01",

      "tooltip": {

        "shared": true,

        "sort": 2,

        "value_type": "individual"

      },

      "type": "graph",

      "xaxis": {

        "buckets": null,

        "mode": "time",

        "name": null,

        "show": true,

        "values": []

      },

      "yaxes": [

        {

          "$$hashKey": "object:8009",

          "decimals": null,

          "format": "percent",

          "label": null,

          "logBase": 1,

          "max": "100",

          "min": null,

          "show": true

        },

        {

          "$$hashKey": "object:8010",

          "format": "short",

          "label": null,

          "logBase": 1,

          "max": null,

          "min": null,

          "show": false

        }

      ],

      "yaxis": {

        "align": false,

        "alignLevel": null

      },

      "bars": false,

      "dashes": false,

      "fillGradient": 0,

      "hiddenSeries": false,

      "percentage": false,

      "points": false,

      "stack": false,

      "steppedLine": false,

      "timeFrom": null,

      "timeShift": null

    }

     

     

    Once you have the CPU 01 panel dialed in, simply duplicate the panel, and then swap out the cores for CPU 02. Remember cores are listed in an array, so they start at 0 and end 1 less than the total number of cores you have. So my 16 core machine is 0-7, 8-15. Adjust to your 8 core machine (0-3, 4-7).

     

    To Duplicate An Entire Panel Click This:

     

    image.png.a9cf2deb8c48eafea34cf3db064dea6c.png

     

    To Duplicate a Query Within a Panel Click This:

     

    image.thumb.png.3b91f2abdb92a79388a07ed3af885d11.png

     

     

    That's all for today's lesson. 🤣

     

  9. 12 minutes ago, Hoopster said:

    Then I realized the mistake.  Two years ago, I installed Grafana, Influxdb and Telegraf docker containers to play around with setting up an unRAID dashboard.  It was taking too much time and I had other priorities so I deleted the docker containers; however, the folders were still in appdata with their contents including telegraf.conf.  I had been editing and deleting the wrong file!!!

     

    Thanks to @falconexe and @testdasi (and @GilbN) for making this all so simple.  I remember what a pain it was two years ago which is why I eventually moved on to other things.  Now I have a really good looking dashboard based on an extremely easy to install and use docker container stack without all the manual messing around in myriad config files.

     

    That will do it ha ha. Been there, done that (in my earlier UNRAID days). It happens. I always go rm -rfv (be careful...) the old appdata folder once I delete a docker for this very reason. Also helps if you want to use the same Docker name in the future. That way your not messing with the old folder.

     

    12 minutes ago, Hoopster said:

    Thanks to @falconexe and @testdasi (and @GilbN) for making this all so simple.  I remember what a pain it was two years ago which is why I eventually moved on to other things.  Now I have a really good looking dashboard based on an extremely easy to install and use docker container stack without all the manual messing around in myriad config files.

     

    Really glad you finally got this to work. Happy for you man.

     

    My goal with creating the UUD was to empower the masses with an easy, sexy, and out of the box solution (as much as possible). We are getting a ton of great feedback across the world where people are finally getting back into Grafana, or just now realizing this is possible. It's a great feeling to know people actually like your work and are excited about it as much as we are! 😄

    • Like 1
  10. 1 hour ago, shwa87 said:

    Thanks @falconexe - I'll check out that regex stuff and hopefully figure it out.

     

    As for the telegraph setup - how I am setup matches post #1/your screenshot - I verified in the config, I am using the GUS config from @testdasi.  I did delete both telegraph and influx configs and got default ones before checking everything lined up with the above as well.  Any other thoughts or information I can provide to help diagnose?

     

    Thanks!

    @shwa87 are you on the UNRAID Discord? We may need to get real time with this LOL. What exact make/model is your UPS? Please post a screenshot of your UNRAID GUI UPS screen. Did you add the POST ARGUMENTS to the Telegraf Docker, AND RESTART all 3 Dockers?

     

    @testdasi any thoughts as he is using your GUS?

  11. 2 hours ago, mmag05 said:

    Thanks for the work. Coming over from Reddit from a post you commented on. On a few groups I belong to people have asked if I’d share the dash I made. It was heavily based on yours with other stuff added so, I don’t feel right sharing it without asking if you mind? I’ll make sure to add a mention to this forum in the description or some other way if you have a better idea. 

     

    @mmag05

     

     

    I'm cool with that as long as the following is done. And this goes for anyone who wants to republish our original work within or based on the Ultimate UNRAID Dashboard (UUD).

     

    •  Always REFERENCE and LINK This Official UNRAID Forum Topic

     

    • Within Your Modified Dashboard Under Dashboard Settings > General 
      • Add a Description of: Modified With Permission From "Ultimate UNRAID Dashboard" Template
      • Tag "falconexe", "GilbN", UUD, & Ultimate UNRAID Dashboard 
      • image.png.d1cbb6ff6745dab16064fa34acf9733c.png
      • image.thumb.png.1f92b7335609d35fdc335f928fa520b0.png

     

     

    • Support: You Support the Modifications and Additions to the UUD (AKA Your Stuff). However, I am happy to support anyone having issues with original panels from the UUD within this forum, so feel free to send them here.

     

    Fair Enough? 👍

     

  12. 7 hours ago, MammothJerk said:

    Lastly just a minor thing, i run both my dashboards on the same grafana instance and i would like to be able to switch between them seamlessly in kiosk mode.

    Currently i have "dashboard Links" setup on each dashboard to navigate to each-other, the problem is that this button gets hidden in kiosk mode, Is there any way to keep it on top even in kiosk mode? 😁

    Not that I am aware of. There are some things that even us developers are waiting for the Grafana vendor to add as features to the tool. If you come across an update or a way to add this in via back end code, let me know and I will be happy to add this.

     

    One thought on Windows 10 is that you can run both instances in Kiosk mode by putting the tabs in 2 separate windows, and then just pin them with the Window + Up/Down/Left/Right key combo. Sometimes I run production and dev vertically stacked like this when I am actively developing. But I have a 43 inch monitor so it is big enough to not lose detail. You could also do side-by-side. Just a possible work around...

    • Like 1
  13. 9 hours ago, MammothJerk said:

    the guide also seems to be missing [[inputs.net]] and [[inputs.docker]], i had to uncomment both of these to get any readings for network and docker on this other box.

     

    Since that should be a part of the default tutorial that GilbN created (his website), that I linked in the Resources section in Post #3, I did not add it. However, you make a good point, and I can see how others might miss that, so I will add those explicitly to the Dependencies section in Post #1.

     

    Congrats, you are now an Official UUD CONTRIBUTOR (You are now listed as such on Post #1) 🤝🥳

    • Like 1
  14. 7 hours ago, MammothJerk said:

    I liked this dashboard so much i decided to install it on my other unraid box as well :), but i'm having an issue with CPU temp :(.

     

    I cannot get my CPU temp from IPMI since this is an unraid box made from spare parts and lacks IPMI support, i can see the CPU temp in the unraid dashboard so i assume it should be possible to send that reading through telegraf, the question is how? the telegraf [[inputs.cpu]] seem to only take care of usage, not temperature.

     

    As an alternate to IPMI to monitor CPU/System/Aux Temps, you can try the Sensors Plugin.

    • Enable [[inputs.sensors]] in the Telegraf Config (Uncomment It)image.png.428640e03b730afa1d36b8cb0f59b753.png
    • Bash into the Telegraf Docker and Execute "apk add lm_sensors"
    • Stop All 3 Dockers (Grafana > Telegraf > InfluxDB)
    • If You Want to Keep This Plugin in Perpetuity, You Will Need to Modify Your Telegraf Docker Post Arguments To (Adding lm_sensors):
      • "/bin/sh -c 'apk update && apk upgrade && apk add ipmitool && apk add smartmontools && apk add lm_sensors && telegraf'"

    • Start All 3 Dockers (InfluxDB > Telegraf > Grafana)

    Let me know if that works for you.

    • Like 2
  15. 7 hours ago, mgutt said:

    I'm using Unraid for a while now and collected some experience to boost the SMB transfer speeds:

     

    I will post my results after all tests have been finished. By now I would say it does not really influence the performance as recent Samba versions are already optimized, but we will see. 

     

    I appreciate your work and analysis on this. I'm still not clear if this is something that @SpencerJ @limetech can improve in a future update.

     

    Per the tail end of my thread, you mentioned that it may be possible. I'm hoping they can officially shed some light on this SHFS overhead, and how it might be optimized for us that use 10GBe network cards to transfer large amounts of data on a regular basis.

     

     

  16. Looks like the UUD is spawning all kinds of personal branches. I'm seeing our panels in all manner of custom dashboards out there in the wild. Just like I learned from GilbN, others are learning from me. Pretty cool to see, and I really appreciate the guy actually linking back to this forum topic and throwing credit our way. I feel like I have given birth 😂

     

     

  17. Alright. I think I answered EVERY SINGLE outstanding support issue thus far. Let us know if you still need any help. You'll probably see a bunch of new REDDIT users coming over for help. I am going to ask that they come to this topic for any and all support. Moving forward, this will be the single source of support. So get the word out. If you see anyone asking about UUD issues/support on various social medias (mostly Twitter and Reddit so far), send them here. Thx.

     

     

  18. 2 hours ago, shwa87 said:

    I am loving GUS + UUD!  Thanks to both @testdasi and @falconexe for your amazing work!

     

    I am experiencing a couple of hurdles.  First, I cannot figure out the CPU regexes.  I have 2 CPU's each with 4 cores. (quad core Xeons).  So they all show up in the CPU01 graph, which I am fine with just removing the 2nd one and having them all in one graph, but I'd prefer two graphs.  If anyone can get the regex for that (or point me in the right direction) I would be very grateful.

     

    For Regex help, see Post #3. I put some great resources in there. Or you can beg GilbN to help you out. If I had the time, I'd do it for you, but EVERYONE should really start trying to learn REGEX. The online lab that I linked is a GREAT way to learn!

     

    2 hours ago, shwa87 said:

    Secondly, I am trying to get UPS data and I'm getting query errors.  I set my UPS db variable correctly, apcupsd is running on unraid and it can connect to my UPS.

     

    Those UPS query errors, and everyone who has encountered them so far, ALL seems to be people missing the dependencies. Please verify that you have the Telgraf Config set correctly for [[inputs.apcupsd]]. See Post# 1

     

    image.png.c62630b30f45f952cf949f566ee72ac7.png

     

  19. 6 hours ago, FreeMan said:

    I know that you've done a huge amount of work on this, and I appreciate it!

     

    I'm curious, now that the display is using variables to define the Cache, Parity & Array drives, are these stored in the InfluxDB database somewhere, or do they need to be reset each time we install an update? I noticed that the currency, kWh, UPS capacity, and all the data sources had been reset when I updated from v1.2 to v1.3.

    Variable values are stored within Grafana on a per dashboard basis. They will definitely need to be set again upon importing a new dashboard. Also, EVERYONE will want to SAVE the value of current variables, once set, as the dashboard default. You need to click the following check-boxes when saving the saving dashboard. These check boxes ONLY appear if a variable has been changed since the last time the dashboard was saved. If you do not save these variables, and if you refresh the website, or close the tab and open it again, the variable values will reset to whatever was last saved. This is a pretty big deal, so be sure to check those boxes once you have everything setup perfect!

     

    image.png.fc61ebade72949d150e85e700c36e31d.png

    6 hours ago, FreeMan said:

    You may also want to consider making these entry boxes a tiny bit smaller... I don't think most country's currency symbols or energy rates take quite this much screen real estate:

     

    If you make them narrower, they should fit on the top line after the CPU Threads box:

     

    and then all the drive selectors can occupy the next however many lines are necessary.

     

    Might make the top a little tidier looking.

     

    Since these variables are Type = Text box, there is no option to set a width. Believe you me, I'd love to make everything nice and tidy. If Grafana ever provides this option, I'll be the first to set it! I've already moved the drive variables to the last once you set so they appear last in version 1.4.

     

     

    image.thumb.png.301e2032a60232953d40dbd1c1400d02.png

×
×
  • Create New...