Hi list a colleague approached me and asked me if it is possible to use checkmk for monitoring of certain files in windows-filesystems (i.e. how much files with ending .iso we have and how much space they are consuming)
Is this possible out of the box and if yes does anybody have some kind of best-practice for this?
Hi, I am not a Windows expert, but I would just write a local check (batch script), which just does what you described and put it in C:\ProgrammData\checkmk\agent\local. You can then print out each file and its size, or just the sum of the files and their total size.
You can add the status to the output according to your needs.
For more information:
local checks: Local checks
windows agent: Monitoring Windows - The new agent for Windows in detail
···
On 12/15/19 9:57 PM, Thomas Wittmann wrote:
Hi list a colleague approached me and asked me if it is possible to use checkmk for monitoring of certain files in windows-filesystems (i.e. how much files with ending .iso we have and how much space they are consuming)
Is this possible out of the box and if yes does anybody have some kind of best-practice for this?
Hi list a colleague approached me and asked me if it is possible to use checkmk for monitoring of certain files in windows-filesystems (i.e. how much files with ending .iso we have and how much space they are consuming)
The can be achieved with the fileinfo check plugin and the grouping
machanism:
Hi Robert
Thank you. I guess i have to add every filetype i want to monitore in the agent‘s ini file (we‘re still using the 1.5 agent on Windows)?
Thomas Wittmann
···
Von meinem iPhone gesendet
Am 16.12.2019 um 09:03 schrieb Robert Sander <r.sander@heinlein-support.de>:
Hi Thomas,
On 15.12.19 21:57, Thomas Wittmann wrote:
Hi list a colleague approached me and asked me if it is possible to use checkmk for monitoring of certain files in windows-filesystems (i.e. how much files with ending .iso we have and how much space they are consuming)
The can be achieved with the fileinfo check plugin and the grouping
machanism: