Hello , was browsing thru XVideoSharing information , and noticed a mod which if possible to be integrated will prove to be quite usefull in XFS pro .
Talking about :
"Server speeds / load monitoring
You can monitor server current IN/OUT speeds + load average on servers list page"
Is that possible to be integrated in XFS pro ?
XFileSharing Pro - Mod suggestion
Why wouldn't this be possible??
Just create a perl script on each fileserver that does this;
my $system_load = qx('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f1');
my $system_bandwidth = qx('ip a');
fetch it with lwp via cron.pl
create a table in database and input stuff for every cron (bytes up/down per hour and sysload)
create admin page that makes it into a nice graph
done!
Just create a perl script on each fileserver that does this;
my $system_load = qx('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f1');
my $system_bandwidth = qx('ip a');
fetch it with lwp via cron.pl
create a table in database and input stuff for every cron (bytes up/down per hour and sysload)
create admin page that makes it into a nice graph
done!