Pandora FMS community forums
Docker disk modules - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Community support (English) (http://pandorafms.org/forum/forum-7.html)
+--- Thread: Docker disk modules (/thread-15490.html)



Docker disk modules - pask1981 - 09-18-2020

Hello
I'm using Pandora FMS Community (Pandora FMS v7.0NG.745 - Build PC200504 - MR 37)
Between my servers, I have some kubernetes nodes (with docker). On these nodes, disks are created and deleted continuously, is normal k8s behavior.
But the consequence is that I have dozens of modules of diskUsed refering to old disks that don't exists anymore (they are all in Unknown state).
How could I exclude docker disks from monitoring (I just want to monitor only root partition), or in alternative, how could I delete old Unknown modules, for example disks not contacted after 7 days ?

Thanks in advance


RE: Docker disk modules - ismael.moreno - 09-24-2020

Hi,
If you are using the pandora_df_used plugin, there is exclusions and can filter by regex so you can avoid that mount points. Also if you want the modules to be deleted automatically after being unknown for X time you can set the token "Max. days before unknown modules are deleted" under Setup > Performance
Kind regards.