Flendor Posted March 21, 2021 Share Posted March 21, 2021 6 hours ago, falconexe said: 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. "you should see info on the API webpage" - all i see under the details section is the server IP and title. All else are blank, VMs section is empty, Dockers section is empty, as per the original screenshot. Tried removing and re-installing, all with the same result. Quote Link to comment
skaterpunk0187 Posted March 21, 2021 Share Posted March 21, 2021 I'm having the same issue as @Flendor UNRAID-API gives no info on Unraid. Occasionally it will give mover info but it refreshes and goes away within seconds of showing up. Anybody discovered a fix to this? Thanks in advanced. Quote Link to comment
makkish Posted March 21, 2021 Share Posted March 21, 2021 Hello, First of all, thank you very much for your work in this. I do have some problems with the icons, for some reason they are not images that I can right click. I can see the "broken icons" but I have no option to open the link in a new tab when I right click. This happens on different browsers. The API connection works fine in general, I still get the data as expected. Quote Link to comment
dieselpwr3d Posted March 21, 2021 Share Posted March 21, 2021 9 minutes ago, makkish said: I do have some problems with the icons, for some reason they are not images that I can right click. I can see the "broken icons" but I have no option to open the link in a new tab when I right click. This happens on different browsers. For me, I had to open up the query and then right click on the icon. However, it still is not working for me. I've tried a mix of HTTPS and HTTP to no avail. 1 Quote Link to comment
makkish Posted March 21, 2021 Share Posted March 21, 2021 10 minutes ago, dieselpwr3d said: For me, I had to open up the query and then right click on the icon. However, it still is not working for me. I've tried a mix of HTTPS and HTTP to no avail. Thank you for the suggestion. It gave me the option to open a link that way, It did however not help for me neither. Quote Link to comment
falconexe Posted March 21, 2021 Author Share Posted March 21, 2021 (edited) 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. Edited March 21, 2021 by falconexe 1 Quote Link to comment
BomB191 Posted March 21, 2021 Share Posted March 21, 2021 I seem to be having a few other issues. Images are fixed but VM info, server name and being able to select drives is causing me issues. The drives are weird because the show up properly in "array disk storage and "drive SMART health overview" Server hardware also works as intended. so Im not sure why its half working Quote Link to comment
skaterpunk0187 Posted March 22, 2021 Share Posted March 22, 2021 1 hour ago, falconexe said: 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. I could not find anything about this. I spent the last hour on this, I mirrored my server port in my switch and ran tcpdump. It turns out if you are using the unraid.net plugin with remote access enabled it disables IP direct connections with a DNS hackery with a random string .unraid.net. This blocks the UNRAID-API from connecting to unraid with an IP and UNRAID-API is not capable (from what I can tell) of using a FQDN as a connection. Side note it just doesn't use DNS lookup. Also UNRAID-API or unraid itself seems to have an issue with "Use SSL/TLS" set to auto (or at lease for me) but works 100% if that setting is set to yes or now and proper settings are used in UNRAID-API. Soon as I signed out and removed the unraid.net plugin the API worked just fine. Hopefully this will help others. And Awesome work @falconexe with 1.6. 1 Quote Link to comment
deanpelton Posted March 22, 2021 Share Posted March 22, 2021 (edited) 13 hours ago, MammothJerk said: The SSD variables are not universal and might have to be tailored to your specific SSD vendor as well. i have a kingston A400 SSD https://www.kingston.com/datasheets/SA400S37_en.pdf and i had to change the Data_Units_Reda/Written to Total_LBAs_Read/Written and then add *512 to math to get an accurate reading. Following this I was able to get this configured to my Kingston M.2 ssd as well, however my cache is an crucial mx500. Poking about with the query, by setting the Serial# to the SSD, then AND Name, it appears none of the metrics appear for my SSD. The Smart Attribute is Total_LBAs_Written, yet querying the db for that appears to have no data for the serial number of my SSD. Looking at the smart attributes table, looks like the Serial# for my ssd is missing and in infinity symbol appears instead. How curious. Edit - Managed to get it working by looking at ID 246 instead of name. However it's reporting 360pb, so something still not quite right. Not sure these MX500's have a value for total reads in Smart stats. Edited March 22, 2021 by deanpelton Quote Link to comment
HagenS Posted March 22, 2021 Share Posted March 22, 2021 21 hours ago, HagenS said: I have an error on vm details: Ok - no answer for my problem, but one more user with same error... I solved this for me by removing the line $.['vm']['details'][*].primaryGPU from definition. Now the error is gone. For me the info is not needed. 1 Quote Link to comment
Flendor Posted March 22, 2021 Share Posted March 22, 2021 I seem to have got most things working now.. looks really good and extremely informative, huge THANK YOU for all your hard work. One last issue seems to be the drive varibales at the top of the dashboard that are all empty/none. Quote Link to comment
BomB191 Posted March 22, 2021 Share Posted March 22, 2021 2 hours ago, HagenS said: Ok - no answer for my problem, but one more user with same error... I solved this for me by removing the line $.['vm']['details'][*].primaryGPU from definition. Now the error is gone. For me the info is not needed. This worked for me also. Now I just have the lack of drive selection up top Quote Link to comment
MammothJerk Posted March 22, 2021 Share Posted March 22, 2021 i have an issue with my smart health overview where every drive shows up twice (and my SSD cache shows up thrice) 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. Quote Link to comment
magicman32 Posted March 22, 2021 Share Posted March 22, 2021 I am having issues with browser I cant select docker icons to open image in new tab, tried 4 diff browsers, like they are part of background Quote Link to comment
MammothJerk Posted March 22, 2021 Share Posted March 22, 2021 1 minute ago, magicman32 said: I am having issues with browser I cant select docker icons to open image in new tab, tried 4 diff browsers, like they are part of background 2 Quote Link to comment
TheLaughingMan Posted March 22, 2021 Share Posted March 22, 2021 4 hours ago, HagenS said: Ok - no answer for my problem, but one more user with same error... I solved this for me by removing the line $.['vm']['details'][*].primaryGPU from definition. Now the error is gone. For me the info is not needed. Did you change anything else? I am still getting the different length error Quote Link to comment
HagenS Posted March 22, 2021 Share Posted March 22, 2021 51 minutes ago, TheLaughingMan said: Did you change anything else? I am still getting the different length error I just removed this one line. Quote Link to comment
mattekure Posted March 22, 2021 Share Posted March 22, 2021 For the SSD stats, I had to go in and tweak some of the settings. I have a Samsung SSD 860 EVO. In the SSD Life Used query, I determined that the query WHERE name = Data_Units_Written did not work because that data was not being reported. Instead, I had to change it to WHERE name = Total_LBAs_Written and then alter the math function. 1 Quote Link to comment
falconexe Posted March 22, 2021 Author Share Posted March 22, 2021 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) 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. Quote Link to comment
MammothJerk Posted March 23, 2021 Share Posted March 23, 2021 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 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? 😁 Quote Link to comment
mattekure Posted March 23, 2021 Share Posted March 23, 2021 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 Quote Link to comment
falconexe Posted March 23, 2021 Author Share Posted March 23, 2021 (edited) 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 Nice, glad you are getting some use out of it. SAVAGE! Edited March 23, 2021 by falconexe Quote Link to comment
Kira Posted March 24, 2021 Share Posted March 24, 2021 Need help I cant seems to get SSD data There is SSD selected Is there somethings I need change here? Note: I have Kingston 120GB SSD Quote Link to comment
falconexe Posted March 24, 2021 Author Share Posted March 24, 2021 44 minutes ago, Kira said: Need help I cant seems to get SSD data There is SSD selected Is there somethings I need change here? 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). Quote Link to comment
Kira Posted March 24, 2021 Share Posted March 24, 2021 26 minutes ago, falconexe said: Select the correct serial number in the FROM clause. The variables so not drive these panels (as I noted in the release post). I corrected the serial no and temp came up but not the others I've checked the site , so my SSD is Kingston A400 120GB with 40TBW 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.