[Check_mk (english)] Best practice for file type monitoring

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?

BR
Thomas

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: https://checkmk.com/cms_localchecks.html
windows agent: https://checkmk.com/cms_agent_windows.html

···

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?

BR
Thomas
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en

The mailing list will be shut down by 31.12.2019. Sign up at the Checkmk Community forum: https://forum.checkmk.com.

--

Beste Grüße

Ghassan Elrayah
Mail: ghassan.elrayah@live.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:

https://checkmk.com/cms_check_fileinfo.html
https://checkmk.com/cms_check_fileinfo.groups.html

Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin

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:

https://checkmk.com/cms_check_fileinfo.html
https://checkmk.com/cms_check_fileinfo.groups.html

Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en

The mailing list will be shut down by 31.12.2019. Sign up at the Checkmk Community forum: https://forum.checkmk.com.

You have to configure the agent with paths to the files you want to
monitor. Wildcards are allowed as explained in the documentation.

Regards

···

On 16.12.19 13:14, Thomas Wittmann wrote:

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)?

--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin