August 11, 201015 yr sysstat+unraid-0.0.06-i386-bubba.tgz http://www.tcpatools.com/bubba/sysstat+unraid-0.0.06-i386-bubba.tgz This plugin includes components of: - Sysstat 9.1.4 - Ploticus 2.41 - libpng 1.4.3 Man pages and other deadwood have been stripped. Changelog: ===================== 0.0.6 - added CPU temps, and historical data 0.0.4 - Fixed text leakage to console. Now you can select disk devices not in the array for disk graph. Better startup images. Various bug fixes. 0.0.3 - Improved x-axis labels. Adds selector for units (mbps or kBps) for network graph. Added "total" to network graph. 0.0.2 - Adds graphs for network and disk activity, and gives you some control over the charting parameters. 0.0.1 - Initial release for testing. Known Bugs: ===================== There is a problem using sar data across midnight... data will stop at 23:59.59, so you can't plot data across midnight. To Do: ===================== - add some managment of historical data files - disk comparisons (plot 2 disks on one graph) - support eth1 and eth2 in addition to eth0 - add environmental parameters (temps and fan speeds) - better start-up messages in browser when starting hires collection - hide debug window. - use a fixed start/stop endpoints (i.e. static graph)
August 12, 201015 yr Looks mightily impressive. Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. Nice work as always
August 12, 201015 yr Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. MegaBytes, not megabits, I'd suggest.
August 12, 201015 yr Author Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. Sysstat logs in kB/sec and there is no way to change that. I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit). For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple.
August 12, 201015 yr Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. MegaBytes, not megabits, I'd suggest. Definately not. Users know about bits not bytes for 100 meg and 1000 meg in NIC land and the same in internet connection land Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. Sysstat logs in kB/sec and there is no way to change that. I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit). For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple. Understood
August 12, 201015 yr Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. MegaBytes, not megabits, I'd suggest. Definately not. Users know about bits not bytes for 100 meg and 1000 meg in NIC land and the same in internet connection land Is it possible to use solely Megabits per second for any relevant graphs. I know from experience users just get confused by big kB figures. Sysstat logs in kB/sec and there is no way to change that. I will have to massage the data or even better, massage the tics on the y-axis (more coding, but no CPU hit). For the time being, I want to do as little manipulation to the raw data as possible, to keep it simple. Understood MB/sec is used in disk land.
August 12, 201015 yr And so we end where we began. In essence this is a good example of the problem. My preference is clear in favour of something n00b friendly. If they have a 100Mbit network card they want to see 65Mb not 8.125MB. Equally if they are transferring a file over the network they probably want to see speed in terms of NIC speed, again Mb. Now you will say but if they see a 55MB file they dont want to see 440Mb. Very valid I simply know from experince its the network part that trips them up most. YMMV Note: I specifically never started on 1024 vs 1000 or MiB cause thats just more confusion. You get my point without making it more complciated BubbaQ will have a strong opinion on this so in the end im sure he will decide. All i want was to get my point accross.
August 12, 201015 yr Or, if feasible, offer an option to config in different units -- in which case, I don't care what the defaults are!
August 12, 201015 yr Author BTW, there is a problem going around the midnight... data will stop at 23:59.59, so you can't plot data across midnight.
August 12, 201015 yr Author New version posted, that includes units selection for network graph. See OP for details.
August 12, 201015 yr I haven't used this yet, but wanted to say nice work, the efforts are appreciated. My new hardware arrived today, so it may be a while until I get the time to use it.
August 17, 201015 yr Author New version posted. See OP for link. 0.0.4 - Fixed text leakage to console. Now you can select disk devices not in the array for disk graph. Better startup images. Various bug fixes.
August 21, 201015 yr Author I have a new version of the Sysstat plugin almost ready, which does historical data over several days and launches data collection via cron. The low-resolution historical data is being collected with one sample every 10 minutes. Each sample is about 3k of data, and will be larger for people with many drives. The historical data is collected in /var/log/sa/ and the datafile is named per day, as "sayyyymmdd" so the file "sa20100821" is for the Aug 21, 2010 data. The problem is where to keep the historical data which is about 400k per day. If you save it to an array drive, it will keep the drive spun up since it writes every 10 minutes. If you leave it in /var/log/sa/ then it is gone when you reboot. If you are like me, and leave the cache drive spinning 24x7, the cache drive makes a good place. I'm thinking about a mover-type system that would run just after midnight to relocate any historical data files from /var/log/sa/ to a permanent (nonvolitle) location. Suggestions?
August 21, 201015 yr I'm thinking about a mover-type system that would run just after midnight to relocate any historical data files from /var/log/sa/ to a permanent (nonvolitle) location. This is the only way I see it unless you have some install option in the doinst.sh to set a symlink from /var/log/sa/ to the permanent location.
August 21, 201015 yr I like S/W that lets user decide what to do, rather than dictating what the user must do, all or combinations of the below options could be used. Options I can see are: 1. Test for a cache drive and use that if available. 2. Use flash and transfer to array whenever the array spins up. 3. Via mover like script when flash hits XX%. 4. Via mover like script at xx:xx hours. 5. Whenever array is stopped dump it to the array. 6. Just let it flush away on reboot.
August 21, 201015 yr Author I like S/W that lets user decide what to do, rather than dictating what the user must do, And I want a new hose, and a new car, and a pony too! As of now it will just save the history to /var/log/sa... if you reboot... then tough bananas. If you want to preserve the history through a reboot, you'll have to do it yourself. Users can create a symlink if they want it somewhere else.
August 22, 201015 yr You want a new hose? Dude thats way too much info...as for the pony, well I'm lost for words.
August 23, 201015 yr Author New version posted... see OP for link This version adds CPU temps and historical data. It sets up historical data collection via cron.
August 12, 201114 yr Author Any chance you want to make this a plugin for V.5? It already is. It shows up in the 5.0 "UTIL" tab.
August 12, 201114 yr Dur - didn't realise it was posted in the 5 Beta section. Very nice! Few questions for you.. Where exactly does it store the information it collects, and are those images generated on the fly? Any chance we can get those tick boxes to stick (eg write to conf file) Can you remove the black borders so they can be styled via CSS instead? Can you add another line break after the options, the first graph is hard up against the refresh button. Also, any chance to remove the debug window? I like very much
August 12, 201114 yr Author See http://lime-technology.com/forum/index.php?topic=7386.msg72854#msg72854 This is a proof of concept app. I'll try to get it cleaned up after 5.0 plugin architecture goes gold.
August 12, 201114 yr Very cool - I was looking at doing something similar with sysstat, but I didn't like how it generated images. However, doesn't look too bad!
Archived
This topic is now archived and is closed to further replies.