Due to a previous topic about logs when upgrading IPFire I have dug in to those a bit more than usual.
The upgrade to 199 went well, but I am curious about a few issues I do not find an explanation to.
System collectd: seems to be gathering a HUGE amount of logs like these, and has for a long time: cpufreq plugin: Reading "/sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq" failed.
How to turn off? There is a quarter of a million entries for February alone, serving zero purpose AFAIK. I have no CPUFreq plugin installed, at least it is not on the list of installed plugins.
Why is there still a Zabbix agent log? I have removed that plugin after decommissioning my attempt at Zabbix.
Or was it there all the time? It has many old entries, would like that to be gone with the removal of the plugin. Maybe it does not remove itself and one has to do manual labour to get rid of it?
Where do you set a global logging limitation? I have no need for 30322 collectd cpufreq log entries from august 2025. Or 6946 Zabbix logs from september 2025 and onwards. The log summary setting is unclear, what does it limit? www.ipfire.org - Log Settings it is said to limit logging, but it does not seem to do that.
Admittedly someone feels all this logging is needed, I just want it to be relevant and controlled by a time span. No, my drives are not filling up yet, well yes they do, but I have 420268MB to spare, it is shrinking thoughâŚ
It was there all the time, just the same as NUT, APCUPS, ClamAV, Samba etc. They are always listed in the System Logs drop down box.
If you donât have any of those addons then you get an empty log for any time entry that you select.
If you used to have one of them installed then you will still be able to see the logs from when they were running for a year after uninstalling it. No new logs will be created after the addon is uninstalled.
I also see the Zabbix entry on my production IPFire System Logs. If I select it for a whole month, then irrespective of which month I select I get an empty log as I have never used Zabbix on that system (yet).
This is not referring to the cpufreq addon, which was removed back in CU197, it is referring to the collectd cpufreq plugin that collects data on the number of cpu cores you have and provides the graph that shows the frequency that each core is running at in your WUI.
Maybe the collectd cpufreq plugin is having problems with your specific cpu.
Considered changing Plugin syslog LogLevel from info to err (per IPFire dev mailing list recommendation) â rejected because it would silence INFO messages from all other collectd plugins (cpu, disk, memory, interface, etc.)
Chose surgical fix: disabled cpufreq plugin only by commenting it out
sed -i 's/^LoadPlugin cpufreq/#LoadPlugin cpufreq/' /etc/collectd.conf
Restarted collectd via SysVinit (IPFire doesnât use systemd):
/etc/rc.d/init.d/collectd restart
Purged 8185 cpufreq log lines from /var/log/messages while preserving all other content:
From what you wrote, you did not disable the cpufreq, you changed the entire logging verbosity from info to warning. That probably killed you other tables as well.
Especially the frequency graphs were missing after I disabled the cpufreq plugin, not because I changed the loglevel.
Important: I also adjusted the start section of the init script for âcollectdâ so that the plugin would not be automatically reactivated - I commented the affected lines:
# Enable cpufreq plugin if cpufreq found
# if [ ! -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq ]; then
# sed -i -e âs|^LoadPlugin cpufreq|#LoadPlugin cpufreq|gâ /etc/collectd.conf
# else
# sed -i -e âs|^#LoadPlugin cpufreq|LoadPlugin cpufreq|gâ /etc/collectd.conf
# fi
As soon as I did this and restarted âcollectdâ, the frequency graphs turned white, no more frequencies were recorded. After changing only the loglevel, everything was ok and the graphs were still updated and displayed.