falconexe

Community Developer
  • Posts

    789
  • Joined

  • Days Won

    15

Posts posted by falconexe

  1. 16 hours ago, MammothJerk said:

    i seem to have commented out the "attributes=true" flag under diskio while comparing the telegraf config of my two servers. this appears to have been the issue.

    i still have some issues with my SSDs though

    35jRrNE.png

    sdl and sdk are both missing some info, and sdj still has a duplicate for some reason.

    sdl, sdk, and sdj are all SSD's, where sdl is a mounted unassigned device whilst sdk and sdj are both part of different cache pools.

    I cannot find anything specifically about SSD's in the telegraf config or in the first post so im stumped.

     

    also did you get a chance to look at my post from earlier? 😁

     

     

     

    Not sure what is going on with your SSDs. I am not on 6.9+ so can't speak to how cache pools mess with the UUD.

     

    Regarding the Currency variable, that is something I adopted from @GilbN's unrelated dashboard in UUD 1.0 when I was first starting out with development. I just looked at my code and I am actually not using this anywhere that I can see, so I will remove that variable in UUD 1.7. From what I can tell, there is no way to dynamically set a unit from a variable. Since it is Legacy and does not apply to the UUD, I'll deprecate it. Thanks for pointing that out.

    • Like 1
  2. 1 hour ago, Kira said:

     

    I corrected the serial no and temp came up but not the others

    image.png.45d83cb66357a133cb8335e28b55c186.png

     

    I've checked the site , so my SSD is Kingston A400 120GB with 40TBW

     

     

    Here is the query for my "SSD Lifetime Writes". Not sure what is going on with yours, but the math function looks different and check your data source in the upper left.

     

    Untitled.png.782bb202cbf32b4f539d99c91c2f7f93.png

     

    Also, follow the instructions here. You need to multiple by the LBA size and then divide to get TB. You are doing a LOT more in your math function.

     

     

  3. 44 minutes ago, Kira said:

    Need help I cant seems to get SSD data

     

    image.thumb.png.5287404d8da2ee00f2c7e8af184bfeff.png

     

    There is SSD selected

    image.thumb.png.84971b00285b4017a6899b7b13f21c75.png

     

    Is there somethings I need change here?

    image.png.fb4ae1eb4ba808db42f00ecf7494822a.png

     

    Note: I have Kingston 120GB SSD


    Select the correct serial number in the FROM clause. The variables so not drive these panels (as I noted in the release post).

  4. First thing I would try is hit that factory reset button to put everything back to factory settings. Then change your admin password immediately. Do this all while not plugged into their modem. One you control everything again, then go step by step to get only what you need. I would never let them provision a router. They should only be provisioning the modem. I would be looking at a new ISP...

    • Thanks 1
  5. 2 minutes ago, mattekure said:

    Well, the dashboard informed me of one thing I wasnt previously aware of.  I have an older SSD thats been in my server for years.  Its not doing much now, but its gone WAAAY beyond its expected life used.  The manufacturer reports a TBW of 150TB

     

    image.png.46e406027c9c1120a75b4d08acc61e32.png

     

     

     

    Nice, glad you are getting some use out of it. SAVAGE!

     

  6. 6 hours ago, MammothJerk said:

    i have an issue with my smart health overview where every drive shows up twice (and my SSD cache shows up thrice)

    XIT6T0p.png

    as you can see the duplicate row only has the "health ok?" info which the other row is missing, and they both have the same device id.

     

    Set your dashboard to the last 5 minutes and see if it goes away. Keep in mind that device IDs get used/reused/swapped upon reboot. If you go back a year for instance, you *may* see duplicates depending on a number of factors.

  7. For all those having issues with the images, please see the post right after the release post. You need to adjust the IP address in the query (server) and the Base URL in the plugin.

     

    For those who are having issues with the UNRAID API even showing data (on its own web page), please ensure you log in with "root" and that password. Please also pay attention to the HTTPS checkbox. If you get this wrong, it will not work! Give it a few minutes. If you are still not having success, try stopping and restarting the docker. If that does not work, completely blow away the docker AND APP DATA folder for the docker, and try again with "root" and the correct level of security (checkbox).

     

    If all else fails, please report the NON UUD issue to the topic forum that handles that Docker.

     

    • Like 1
  8. DEVELOPER UPDATE - UUD 1.7

     

    Alrighty. Here's what I'm thinking is going to be the main focus of UUD 1.7. I personally would like to get a rolling LOG panel that directly reflects the UNRAID real time log. I've read some stuff in passing about an external log server, or even logging on the same server to flat files via the same method. The purpose being, if your server hard crashed, you'd have a record of what caused it before the logs got wiped on reboot.

     

    So, I need some help here and need to be pointed in the right direction to make this happen. It may not be possible, but I want to give it a shot. Here are a few requests:

     

    1. Has anyone ever setup a "log server" for their UNRAID box. If so, how did you accomplish this? What dockers, plugins, etc. did you use?

     

    2. Has anyone ever messed with the "Logs" panel in Grafana. I suspect this is how I would present that data.

    image.png.6a38070851a08c13f26b097694243a59.png

     

    3. Does anyone already have this as a working solution and would like to share?

     

  9. 37 minutes ago, falconexe said:

     

    Thanks. I'll give this a shot with my SSL setup. Adding the port may fix it. Stay tuned...

     

    This did not work for me. SSL seriously breaks the auto grabbing of the images. No worries. At least we have the authentication workaround. I banged my head off a wall for hours when I was first messing with this. It should just work I was thinking, and finally discovered the authentication loop that fixed it. 🙄 😂

     

     

  10. Hey guys. I'm playing around the UUD 1.7 development and I just added something that many will find useful to the UUD header.

     

     

    image.thumb.png.04e3474506ae567c2bc230168a76d0e4.png

     

     

    You'll noticed the UNRAID version is available from the API. Here is query and JSON if you want to add it now. 😊

     

     

    image.png.ec88a85659f64c9bea493d09ad789f50.png

     

     

    {
      "datasource": "$Datasource_UNRAID_API",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "unit": "decbytes",
          "color": {
            "mode": "fixed",
            "fixedColor": "orange"
          },
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          },
          "mappings": []
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 12,
        "x": 6,
        "y": 4
      },
      "id": 320,
      "links": [],
      "maxDataPoints": 1,
      "options": {
        "reduceOptions": {
          "values": false,
          "calcs": [
            "last"
          ],
          "fields": "/.*/"
        },
        "orientation": "auto",
        "textMode": "auto",
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center"
      },
      "pluginVersion": "7.3.7",
      "targets": [
        {
          "cacheDurationSeconds": 300,
          "fields": [
            {
              "jsonPath": "$.['servers']['https://192.168.1.7']['serverDetails'].version",
              "name": ""
            }
          ],
          "queryParams": "",
          "refId": "A",
          "urlPath": ""
        }
      ],
      "title": "UNRAID Version",
      "type": "stat",
      "cacheTimeout": null,
      "description": "",
      "hideTimeOverride": false,
      "interval": "",
      "timeFrom": null,
      "timeShift": null
    }

     

     

  11. 3 hours ago, helvete said:

    @ElectricBrainUK Using the API with the new 1.6 UUD and finally realized it is root not my "username" for the login so got that done, however all the docker images are broken on the UUD :( any tricks to resolve?

     

    @helvete Read the post right after the UUD 1.6 release post. I also posted a MEMORANDUM a few posts back about "CRITICAL INFORMATION". Please read that.

  12. 6 minutes ago, ElectricBrainUK said:

    Hi, I don't maintain or have anything to do with UUD sorry. If the docker containers work in the ui for the unraid api then you will have to ask for support from the UUD guys. 

     

    @ElectricBrainUK Just wanted to say thanks for the UNRAID API docker! Great work and UUD 1.6 would not have been possible without you and your work! I sincerely appreciate it!

    • Thanks 1
  13. 31 minutes ago, clintkev251 said:

    Yup, here's the base URL format that I'm using. Haven't tested this with https. So the final URL ends up being something like: http://xxx.xxx.xxx.xxx:3005/state/plugins/dynamix.docker.manager/images/binhex-delugevpn-icon.png which is available without authentication

    tempsnip.png

     

    Thanks. I'll give this a shot with my SSL setup. Adding the port may fix it. Stay tuned...

  14. 6 hours ago, Flendor said:

    Thank you for your hard work on this. I loved the 1.5 version. I am however stuck with not knowing how to do this part of the installation process, if someone could please explain what to do.... I assume that I need to install Home Assistant Core, but then I grind to a halt

    image.png.9e610bfb09f746c566af7520ce3f0ddd.png 

     

    My Unraid API overview seems to be missing most of the data that I understand is needed for this to all come together. VMs and Doclers are empty.

    image.png.be03fa63d824fc9024090dc2598d7ccd.png

     

     

    You don't need the home assistant addon. Just install the docker from CA. Load the webpage, enter your server IP and credentials. Wait about 2 minutes, refresh, and you should see info on the API webpage. Once you see it there, you should see it in Grafana provided you have your datasource and queries correct.

  15. 5 hours ago, ChatNoir said:

    You might want to switch the order of New Grafana Data Source and New Grafana Plugins in your 1.6 release post as you need the plugin to install the datasource.

    I think most people will figure it out but it would provide a smoother update. :)

     

    Back to the install now .... ;) 

     

    Yeah, good point. Was just trying to get the info out the door quickly. Once I post the release info, I have to scramble to update post #1 and actually release the code before someone asks “where’s the download”. @SpencerJ Just glad our forum platform can handle MEGA POSTS in memory with tons of screenshots without crashing. I would have been devastated yesterday. I spent 4 hours putting these posts together while cross referencing development notes, testing, validation, screenshots, and screenshots editing. It’s a massive job. I appreciate the help!

    • Like 1
  16. 1 hour ago, clintkev251 said:

    Regarding the icons and authentication, it seems the images are available at the same path in the unraid API docker. I pointed the base url at that port and now it works without authentication


    Nice. Can you screenshot your base URL with this fix for everyone to see? You can sensor your IP. Everyone know’s mine LOL.

  17. DEVELOPER UPDATE:

     

    Hey everyone. I hope you are enjoying UUD 1.6 so far. I just wanted to let you know that I added some CRITICAL INFORMATION to the post right below the actual 1.6 release post. Please READ IT or you will end up with some "fun" stuff occurring. Let me know if you have any questions.

     

     

     

    By the way, because I know someone will ask, because they always do....

     

    For the link I posted above, click the arrow in the UPPER RIGHT CORNER of the picture to go the actual post I am referencing.

     

    image.png.938354a916e49a2ef7a631bbd36bf0c3.png

     

    If you click the link/pic itself, it will just take you to the main UUD page/post 1.

     

     

  18. 2 hours ago, ziggie216 said:

    For the selection of "SSD Drive(s)" should I be able to select multiple or this only made to select a single SSD drive?

     

    You can modify the SSD variable to allow for a multi selection. However, the panels are currently designed for just a single SSD. You can adapt my code as needed. Furthermore, you could potentially even get this to work with CACHE POOLS (Added in UNRAID 6.9+).

     

  19. 4 hours ago, Frazzer951 said:

    I've just finished installing V6 and there were a few things I had to change to get things working/showing properly.

     

    First off, for the server name I had to update it to use the correct IP, being the same as I typed it into the UNRAID API docker, I also had to do the same change for the server status pane.

     

    For CPU temp, I changed it to use the search query for `sensors` instead of `ipmi_sensor`, but I had to modify it to be "WHERE feature = smbusmaster_0" IDK if that was because I'm using a Ryzen 7 3700x or if I just don't have something setup properly.

     

    Problems I'm having:

     

    Dockers are not showing their Images, only the names.

     

    It is showing "No data" for the panes with 'SSD Lifetime Writes', 'SSD Lifetime Reads', 'SSD Life Used', and 'SSD Temperature', I'm not sure what I need to do to fix those, I have a Samsung 970 Evo if that helps at all, but the SSD Writes day and year both work fine.

     

    Besides those problems everything seems to be working fine. Thanks for any help and suggestions people offer

     

     

    For Docker/VM Images, see this post:

     

     

     

    For the SSD health panels, you will need to select your SSD Serial Number in the query by editing the panel.

  20. 2 hours ago, ziggie216 said:

     

    I'm looking at the source code and the image url is https://192.168.1.7/state/plugins/dynamix.docker.manager/images/Influxdb-icon.png

     

    Looks like the IP is hard set?

     

    Edit: found it.. edit that panel, right side look for a section call URL, you'll find the Base URL there that you'll need to change. The part where I dont get is that in order to access that url, we need to login to unRAID first by that IP then Grafana. If I went straight to Grafana without authenticating against unRAID WebUI, I would run into the same issue of not seeing that image

     

     

    Check the post right below the release post. Here is the link:

     

     

  21. 17 minutes ago, Alex.b said:

    Hey,

    It seems amazing ! How is the CPU / Ram consumption of this all dashboard ?

     

    That really depends on a LOT of factors including how many panels you have, how far back the data is being queried for, what kind of browser you use, and how good your CPU is.

     

    Here is a snapshot of my average load going back 24 hours:

     

    image.thumb.png.add69d48cdcde32f150090b6fd937e56.png

     

    On refresh it peaks at about 1GB of RAM and 25% CPU for about 10 seconds.

     

    Download it and give it a shot.