Webmin System stats git
Brought to you by:
gerbier
long away future
- make graph from external rrdtool database (collectd ?)
- move data and temporary graphs to /var (instead /etc)
- improve security (tainted mode ?)
- entry validation
customisation pour tous ou par module (voir change_local_params in sysstats-web-lib.pl)
-------------------------------------------------------------------
new modules
- ldap : http://ltb-project.org/wiki/documentation/cacti-plugins/openldap_operations ?
- firewall on bsd
- diskio for bsd (cf monitorix code)
- uptime based on uptime + scale choice (h,w,m,y)
-------------------------------------------------------------------
? (disk,diskio) delete a vol -> bad db_uid ?
--------------------------------------------------
block aquisition on update ?
--------------------------------------
modules as perl module ?
ex cpu-lib.pl => cpu.pm package webminstats::cpu
to be changed : $minfo{'mod_lib'}
- sysstats-conf-lib.pl : get_sysstats_module_info replace path by package name ( webminstats::cpu)
- modules : package, no export
- calls : $minfo{'mod_lib'}::method
- replace call to lib
require $minfo{'mod_lib'};
by
load_module($module)
+ push @INC , ...
+ require $minfo{'mod_lib'}
=> no more problem of redefine (cf clear_redefine in sysstats-update-lib.pl)
=> allow inheritence (virtual class)
------------------------------------------
shebang problem on bsd* (/usr/bin/perl !)