By default NetData polls the pihole web interfaces every 1 seconds.
This is far to aggressive for three reasons:
- Pihole data isn’t the sort of data that needs real-time updates/resolution.
- The polling hits the lighttpd access.log and spams that log making it useless for it’s intended purpose.
- The log grows very large very quickly (bearing in mind that pihole is typically deployed on raspberry pi’s with typically limited storage).
Could you please make the default something a little more gentle?
I can only speak for myself but at most I would want 1 minute resolution.
Just to give some context of why this matters:
I run my pihole on a Raspberry Pi 4. I also use log2RAM to minimise writes destined to /var/log/
To do that log2RAM effectively creates a RAMdisk.
I set mine to 350MB and over 100MB of that ended up being the access.log entries generated by the NetData agent. Aside from the fact that the logs now roll over so fast that I wouldn’t catch a dodgy entries even if I wanted to