Hi there,
I was wondering how can I monitor the size of a custom list of directories in Linux. I moved recently to the raw versions, and importing external libraries is not an option here. Unless there is a manual steps to import external plugins from extchange.checkmk.com
Is there a way to do it using the linux agent only?
As always, thank you guys for the continuous help.
Regards,
The easiest way is a small script (local check) on the monitored host.
But there are also packages available like this one. There you get a plugin for your agent and a configurable check on your monitoring machine.
The how-to for the mkp files you can find here.
With the rule βfile grouping patternsβ you could group that together and with the rule " Size, age and count of file groups" you can set the thresholds.
Thank you Andreas as usual. For being supportive. I will give this a try. I have a different question: Regarding the piggyback data in the server. How long does it take for CheckMk to remove the outdate entries from the server from this folder /omd/sites/ro/tmp/checkmk/piggyback/. Is it something that we can configure to run faster?