I was told something similar by an AI, mentioning it is basically possible but needs tweaking and re-creating the rrd files which is kind of tricky. So to sum up: if one wants to have Webminstats data for more than 1 year - it is currently not possible and likely never will be due to the tech stack. Feels a bit outdated to be honest. Webminstats could maybe think about a new, "a bit" more flexible data storage. rrd is so so limited... what a bummer :-(
Webminstats uses the rrd (round robin database) tool (https://oss.oetiker.ch/rrdtool/) : the database size is fixed at init, so the number of records is also fixed. It is possible to add a new RRA to store long term data : https://stackoverflow.com/questions/30322964/how-can-i-add-rras-to-an-existing-rrd but webminstats will not be able to display this data without some big code changes.
Extend record time
fix build procedure
webminstats 2.23 (stable) released
fix checklist
do not force tag on modules
do not add spec file in tgz any more
- force tag
add controls on build
fix perlcritic warnings
sh extension to avoid bad file perm
cb
cb
version 2.23
(battery) avoid warnings if no battery (on VM)
patch to display the date in a fixed place (patch # 3 from userecho)
Merge commit '439b2afa8c762de87f55a20adeedaf1aa0bc203b' into devel
Cheers
The datebox element goes out of view
I am using firefox or chromium or brave on mainly fedora/debian/ubuntu but do not worry, I can read the date. Your patch is now committed in the devel branch. I will probably have the next release in february. thanks for your work !
moved the datebox into the [data-dcontainer="1"] element
I see what you mean about the theme. I didn't expect the theme to affect a module that much. The last commit makes the new code to only run for the "authentic" theme and the old code will run for all other themes. As for the second point - it looks alright on latest Chrome and Safari on OSX and I thought browsers are pretty aligned these days ;) What browser (and maybe what OS) do you see that in?
I have tested it, and I notice 2 problems - first, your code is only working with the default theme "authentic theme". Is it possible to test and use your code on authentic, and else use my old code - second, the display is now centered and is somewhat hidden by the graphic title. Is it possible to display the date on the left as before ?
The datebox element goes out of view
Thank you very much for this patch. I'm testing it and it will be included in next release (2.23)
I think I got there with the MR https://sourceforge.net/p/webminstats/git/merge-requests/1/
moved the datebox into the [data-dcontainer="1"] element
The datebox element goes out of view
I had the same problem some days ago : the problem was docker, which modify iptables, so nft sends this warning. The problem will be fixed in next webminstats release (2.23)
(ping) allow icmpv6
(firewall) suppress warnings from nft
add comment for bug 104
I am getting logged every couple of minutes from Cron root@louis /etc/webmin/sysstats/sysstats.pl Warning: table ip nat is managed by iptables-nft, do not touch! I don't know which configuration needs updating. Anyone know what is going on?
hddtemp no longer maintained, plugin doesn't work
The problem is fixed in devel branch. It will be available in webminstats 2.23. If hddtemp is not available, it will use a local hddtemp-lt code.
Error cloning the "mysql" module
thanks for this report the problem is fixed in devel branch. It will be available in webminstats 2.23
(audit,dns,mysql) fix cloning module on keys file (bug #104)
better message for check_prereq
Steps to install a new module
I have written a basic documentation some years ago : https://webminstats.sourceforge.net/module_writing.html
Continuos message in action.log
It means that the mailto action is not well configured : the mail command is missing. the message will be improved in webminstats 2.23
WARNING on module filesopen
After upgrading VPS from 1 core to 4 cores CPU graph does not draw to top of chart
you will have to click on "init" button in the cpu configuration page ( https://localhost:10000/sysstats/edit_module.cgi?idx=cpu&xnavigation=1)
Error Running Module
MySQL password with '#' character does not connect
fixed in mysql module 1.14 /webminstats 2.21
Images in NIC Module
fixed in network 0.36 / webminstats 2.19
error in browser
Doesn't support Ubuntu 18
Panorama view broken
graph called at ./sysstats-lib.pl line 343
Argument "usb_fiq" isn't numeric in addition (+) at ./irq.pl line 89.
UPS module no graphs
(hddtemp) allow use of hddtemp-lt to replace deprecated hddtemp
(uptime) rename tab_param sub
(battery) rename tab_param sub
Just to let you know, I deleted the webminstats battery module as mentioned in my previous post and then everything seems to work fine. Thanks a lot for your help.
The link returns a 500 error, so I installed tlp, then started it, but kept getting the battery error and the link also did not work after installing tlp and returned the same error in the screetshot. Also I cannot see battery in webminstats dashboard. I went to page /sysstats/config.cgi, there is a delete module, would it work if I delete it from here?
The link returns a 500 error, so I installed tlp, then started it, but kept getting the battery error and the link also did not work after installing tlp and returned the same error in the screetshot. Also I cannot see battery in webminstats dashboard.
The battery module is using /sys/class/power_supply/BAT0 pseudo-file. So tlp may help. Else, you can disable the battery module, for example from https://localhost:10000/sysstats/edit_module.cgi?idx=battery&xnavigation=1
Thanks Eric for your help libcgi-pm-perl did work fine for me and I can see the weminstats dashboard now. I get another error when clicking on any of many buttons /etc/webmin/sysstats/modules/battery/config. In my case, I am using VPS and there is no physical battery. What would be the solution for this? Would installing tlp help?
Thanks Eric for your help libcgi-pm-perl did work fine for me and I can see the weminstats dashboard now. I get another error when clicking on any of many buttons /etc/webmin/sysstats/modules/battery/config. In my case, I am using VPS and there is no physical battery. What would be the solution for this?
No, because I recommend to use only the system package. Using alternate package, such cpan, may broke the system dependencies and is very difficult to maintain up-to-date. On my Ubuntu, Carp is installed from libcgi-pm-perl package, which is needed.
Would there be an installer which installs and configures all dependancies before webminstats?
I was able to install RRDs using the command sudo apt-get install librrds-perl rrdtool but it required carp, I installed it, but after which webminstats failed. I used the commands perl -MCPAN -e shell then install Carp it showed that it installed, but errors returned in ssh: make -- NOT OK No such file or directory Failed during this command: XSAWYERX/Carp-1.50.tar.gz Wondering what to do next?
There are many RRD modules as per cpan at https://metacpan.org/search?q=rrd, would you advise which one is needed? Thanks,
Error Running Module
webminstat use a perl module named RRDs, but the module installation depends upon your linux distribution. Send your linux distribution and I will send you the command line
Error Running Module
I have understand the problem : my hddtemp module use hddtemp bin with the '-n' argument, which does not exists in hddtemp-lt. There is ways to fix it - a patch to add the -n argument to hddtemp-lt (almost done) - or change output parsing in my module
hddtemp no longer maintained, plugin doesn't work
I just had a quick test on a fedora 40 old hddtemp code $ /usr/bin/hddtemp /dev/sda: CT1000MX500SSD1: 26°C new replacement code : $ sudo ./hddtemp-lt --classic /dev/sda: CT1000MX500SSD1: 26°C so it is looking nice. I will work on a new hddtemp module version. Thanks for the link
hddtemp no longer maintained, plugin doesn't work
sysstat-action-lib fix bug on _action_exec
webminstats 2.22 (stable) released
more detailed checklist