Jump to content

FreeMan

Members
  • Posts

    1,520
  • Joined

  • Last visited

Posts posted by FreeMan

  1. On my array growth graphs, the Weekly growth shows rounded edges, while all the others seem to show pretty sharp corners. I took a look through the options and didn't see anything that looked like it should control this. Am I hallucinating, is my data growth for the week actually rounded like that, or did I miss some sort of obvious (to everyone else) setting?

    image.png.cc38df25e190cdeef3af13c357357c85.png

     

  2. I noticed that my Array I/O (Read) and (Write) were showing data from drives from both of my servers no matter which HOST I'd selected in the variable up top. Not exactly what I was after. I tracked it down to a misplaced close paren in the query.

     

    Original:

    SELECT non_negative_derivative(last("read_bytes"), 1s) FROM "diskio" WHERE ("ID_SERIAL" =~ /^$Drives_Array$/ OR "ID_SERIAL" =~ /^$Drives_Parity$/ AND "host" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval), "ID_SERIAL"

    Fixed:

    SELECT non_negative_derivative(last("read_bytes"), 1s) FROM "diskio" WHERE ("ID_SERIAL" =~ /^$Drives_Array$/ OR "ID_SERIAL" =~ /^$Drives_Parity$/) AND "host" =~ /^$Host$/ AND $timeFilter GROUP BY time($__interval), "ID_SERIAL"

    Note the paren moved to after the "ID_SERIAL" condition to group the OR conditions on "ID_SERIAL" separate it from the AND conditions to get the order of operation correct. The original includes the 'and "host"...' in the parens and it essentially gets ignored.

     

    This may be an issue elsewhere, as well, but I haven't looked through all the queries yet to be sure.

  3. Hey, this is spiffy! I installed telegraph on my backup server and copied the telegraph.conf file from my primary to the backup. Now, I'm getting data for both, and all I have to do is change the "Host" name to switch!

     

    I guess I need to go through all the drive graphs and add overrides for the backup server's drives to map the serial numbers to names, eh? Sadly, it seems that I have to designate which "Drive 1" is which myself, since it shows legend info for all drives in the array whether there's data for them on this host or not. There's worse things, I suppose...

     

    Any other tips on using the 1 Grafana display for 2 servers?

     

    Update:

    The cache I/O graph is showing only the single drive for the backup machine but the array I/O graph is showing all drives from both machines, even though it's showing nothing for the primary machine.

     

    Also, of note, it's impossible to assign the boot drive for both machines at the same time. In general, this makes perfect sense, since a machine can have only one boot drive, but for those monitoring multiple machines, it's a tad inconvenient.

  4. On 10/11/2020 at 5:05 PM, Forty Two said:

    I just got 1.3 to work in full. :D

    Very little works in 1.4, at least for me.

     

    Just for example this is the code to get fan dials to work on my system:

    
    SELECT last("fan_input") FROM "sensors" WHERE ("feature" =~ /fan./) AND $timeFilter GROUP BY time($__interval), "feature"

    Set ALIAS BY to: 

    
    $tag_feature

     

    Excellent!

     

    Works a treat on my AMD A10 CPU.

     

    Now, I just need to plug the fans into the MoBo headers instead of the case header. Maybe it'll recognize more than 1 fan and show some different speeds... :)

     

    Interesting... I updated the "fan speed dials" panel

    image.png.819b8c71eb9ac45a0ff65bb43fd83e5a.png

     

    With that query. When I did, I noted that there's a disabled query in there:

    SELECT last("value") FROM "sensors" WHERE ("feature" = 'select tag value') AND $timeFilter GROUP BY time($__interval)

    I enabled it and it doesn't seem to make any difference. What's it supposed to do?

  5. 3 hours ago, falconexe said:

    I was like, how am I gonna make this guy happy, and some of the stuff he’s asking for is simply impossible to code and make it automagically happen LOL.

    You know, a real software guy would simply say "upgrade the hardware"...  🤣 🤣 🤣 🤣 🤣 🤣

  6. 26 minutes ago, falconexe said:

     

    Please don’t 😂.

    Man, it took me a while to figure out what you meant. It just hit me that you totally misunderstood my intent, and it's obvious that I wasn't all that clear...

     

    I was intending it to be a "new user tips & tweaks" or "@falconexe has released a new version and I need to recustomize it, now what the heck did I change last time" type of "customizations to consider", not for more changes for you to make.

     

    I was talking about a reference post for new people who don't have 2 CPUs to figure out how to get rid of the 2nd set of CPU graphs, and instructions on how to go about naming drives instead of having them listed by serial #, etc. Not more suggestions for you to implement in the first place...

     

    Whew! I thought you didn't like my idea. I was gonna be hurt... :(

  7. 12 hours ago, falconexe said:

    Keep in mind this was based on MY drives and my personal thresholds set in TB (not percent)

    Hence "something you may want to consider" not "you should do it this way!" :). And, consider it you did. ;)

     

    If I build up some energy for it in the next couple of days, maybe I'll write up a "Customisations to consider" post. Comb through all the posts and put together some text on things that people have had to adapt to make it fit their personal server situation. Deleting extra NICs, naming fans instead of RegEx, adjusting drive free space highlights from absolute to pct and setting thresholds as desired, naming drives instead of serials, etc (Just a couple off the top of my head).

  8. This is what my "Array Storage" section looks like:

    image.png.407f813f0d8f03e68782b7454749c53f.png

    Note that the Free space is highlighted in red. That doesn't make much sense to me considering that I've got 36% of my disk space unused. I went to edit the overrides, looking to change the percentage, figuring that it was just a typo somewhere. In the overrides for the "Free" section, I found this:

    image.png.73480f5bf5d26527543c8f3b100b3434.png

    I changed the Thresholds mode to Percentage, then added a Min override and set it to 0. Now my Free space has an orange background. Something you may want to consider for future updates.

  9. 15 hours ago, falconexe said:

    Exiting things are ahead.

    Yeah, they're called "off-ramps"!  🤣 🤣 🤣 🤣

     

    On a more serious note...

    15 hours ago, falconexe said:

    I'm trying to build the end all be all of dashboards

    Maybe consider making some of these things stand alone. Not everybody uses Plex. I realize that it's not hard to "Click -> Remove -> Confirm", but that's kind of annoying for those who may want updates/improvements to the UNRAID core functionality, but not want/need some of the add-ons.

     

    To me, having the ability to monitor CPU & RAM usage by docker container in one easy to view graph (the standard WebGUI view is nice, but I do like this much better) is a huge bonus. Having to install then delete the 2nd NIC and 2nd CPU panels that you have is, well, understandable - you're doing all the heavy lifting on this, we're just here griping that it doesn't work on our config. Having to install then delete things for dockers seems, maybe, a little over the top. Multiple CPUs seem very practical (and are, for the most part, limited to 2), while dockers are 100% optional and there are far, far too many to try to include monitoring of everything in one place. Frankly, I would like you to do monitoring for Emby/JellyFin, but, I'd guess you don't run either, so you won't be doing that. Hardly seems fair... ;)

     

    #OneMansOpinion

  10. Something to consider @falconexe

     

    Instead of hard coding column widths for tables like this:

    image.png.2b88cb9a5e2ad906add028172cb8c257.png

    Consider leaving no column width override. That way columns will autosize no matter what screen resolution or how wide each end-user decides to tweak his/her columns.

     

    Your column settings were so wide, I hardly had more than 1 or two visible without side-scrolling. Then I spent a while tweaking the column settings to get them "just right". Then, as an experiment, I deleted all the width overrides and realized I'd wasted a lot of time with the tweaking because they came out basically the same widths on "auto".

  11. 1 hour ago, falconexe said:

    Here is a screenshot. Overrides are on the right side when you "Edit" the query.

    Ah, that makes more sense.

     

    For some reason, it took me a while to find that right-side panel. I'd been looking for things you'd been telling people to do, but I couldn't find the options you were talking about. I stumbled on it a couple of days ago. It's much easier to tweak things now!

  12. How do I adjust individual column widths in the data tables? As you can see here, there's a lot of empty space that could be eliminated. Since we don't all have 4k monitors, there just aren't enough pixels on the screen to display the data without a lot of horizontal scrolling.

     

    This is the top of the "Array Disk Storage" listing, and there is essentially no interesting data on it without scrolling:

    image.png.a510c8698277687de4b9ff6bd53b2fe0.png

     

    I tried adjusting column widths once, but it ended up rearranging the columns and totally mangling things - there must be a better way that what I was doing!

  13. 6 minutes ago, falconexe said:

    I would try installing a secondary copy of 1.3 and see if the default version has the same issue. You could also try reverting your current dashboard to a previous version before the appdata backup and see if that helps.

    I still have v1.2 installed. Oddly, it's showing the same symptom.

     

    It is probably something wonky in Grafana. If it's still showing like this when you release v1.4, I'll uninstall & reinstall the Grafana docker. In the meantime, as I said, it's a mild nuisance, not a "problem". It's more annoying that it's weird and without an obvious solution than it is to look at.

     

    Don't sweat it!

  14. 21 hours ago, falconexe said:

    Hmm, that is a weird one. I've gone thought he CA backup process and have not seen that. I assume if you refresh, or close/reopen the window, it remains?

     

    I'm sure you are already doing this, but one thought is to make sure that all 3 Dockers (Grafana/Telegraf/InfluxDB) are all set to auto restart. The way I acomplish this is defining an Extra Parameter in each Docker of "--restart=always". Or you can use the buttons to auto restart in the UNRAID GUI.

     

    image.thumb.png.ef967774cc517992613e79a6e3543d4e.png

     

    If this issue still persists after refreshing/reopening Grafana, try closing the browsers, clearing your cache/cookies, and reload.

     

    Report back. My next backup is Monday at 5AM.

    Firefox closed for an update and they're still there. I didn't clear cache/cookies, though. It does remain after a Ctrl-F5 hard refresh of the tab, and after close/reopen the tab.

     

    I do have the `--restart=always` parameter set for one of the 3 dockers (don't recall which) per your earlier instructions, but I've never had any issue with dockers starting with a server restart or after a CA Backup run.

     

    Interestingly, this is not the first CA Backup run since installing all this stuff, it just happens to be the one that caused a weird visual glitch.

  15. Interesting. CA Backup shut down all my dockers last night so it could do its weekly backup. I'm good with that, nothing much happening on the server at 2am on Sat...

     

    However, when I look at the dash after everything came back up, a vertical scroll bar has appeared on all the horizontal bar graphs.

    image.png.6594da863c7d51582b3024072d31b65a.png

    There is no scrolling happening when I hit the up/down arrows on the scroll bar, it just sits there, mocking me.

     

    I'm elbows deep in a car repair today (just waiting for the PB Blaster to loosen some rust), so I probably won't look at this again for another 4-6 hours, but if you've got any thoughts, I'll try 'em out later.

  16. 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... ;) )

    • Like 2
  17. 10 hours ago, falconexe said:

    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.

    Very much looking forward to this as my servers have always run on desktop hardware. I get no CPU utilization or fan speeds.

  18. On 9/24/2020 at 6:07 AM, falconexe said:

    Variable values are stored within Grafana on a per dashboard basis. They will definitely need to be set again upon importing a new dashboard.

    Well, don't that just suck!

     

    Hey, waitacottonpickinminute! Isn't InfluxDB a data base?? How 'bout I just add a table that maps my serial numbers to my disk names, create a view that joins them, then do the Grafana queries off of that view and pull in the name instead of the serial!

     

    Great idea, FreeMan, but HeidiSQL won't connect to an influxDB backend. Haz a sad😥

     

    Are there recommended tools for connecting to influxDB? A quick search hasn't turned anything up. Is this even possible?

     

    If you I we do this (I'm more than willing to dig into it given the proper tool to connect, I've used my share of SSMS), the DML to create the table & view can be included in the first post, along with a sample file of how to insert the serial/drive names (hrm, may take installing the proper tool on each users' machine somewhere, somehow). Once they're in the table, there's no need to ever redo the overrides in each panel for each update. Additionally, it's only occasional updates to the config table as drives are added, moved, rearranged.

  19. 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.

     

    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:

    image.thumb.png.98420be12829016c1a24ea642b1809ad.png

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

    image.thumb.png.319089fb412402df71238f70ff5adeaa.png

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

     

    Might make the top a little tidier looking.

  20. 1 hour ago, falconexe said:

    Yeah. Look back like 10 posts and you'll find the answer.

     

    Here 👇

     

    Yeah, sorry 'bout that... I'd been refreshing looking for updates, but was stuck on page 5 and hadn't noticed that you'd moved on. My bad... :(

     

    I edited the Week panel and got this screen grab:

    image.png.39af4719c9a56724abe568935e29282b.png

     

    Then edited the Month panel and got this screen grab:

    image.png.5ca3f4b39b8fb305ca730de86f36a838.png

     

    So I believe all is good. However, I noticed, though it didn't register immediately that something looked weird with the Week panel. I went back in to edit on it and after looking at it for a few seconds, it changed to this:

    image.png.52ba42bf468d3913d626254264368cd0.png

     

    It looks as though for the Week panel only, it's picking up the current width of the panel, and since when I'm editing it the panel draws itself full width, that's nearly the full width of my monitor.

     

    Your thoughts on this?

     

    BTW- v1.3 looks good, and your mock up for V1.4 is looking good, too! I've got to go back and reread the directions on mapping a drive number to a serial number, and I'll be golden!

  21. OK, I've got this panel showing data:

    image.thumb.png.0c22a00076bd51ca6e979c3954197969.png

    With this query:

    SELECT last("used")  / 1000000000000 AS "Used", last("free")  / 1000000000000 AS "Free", last("total")  / 1000000000000 AS "Total" FROM "disk" WHERE ("path" =~ /.*cache/) AND $timeFilter GROUP BY "path", "device", "fstype"

    How do I:

    1. Convert to GB instead of TB? It's only 360GB in total space, so I don't need it showing up in red when it's less than 50% used
      1. I tried loping 3 zeros off of each of the divisors, and that put the numbers in the right order of magnitude, but it's still labeled TB, not GB
    2. Get it to show all 3 drives in the cache pool, ideally with usage per drive? sdl, sdm, sdn
      1. Not sure if that's actually possible, as the WebGUI shows 3 devices in the pool, but only 1 number for usage.
×
×
  • Create New...