Page 1 of 1

Monitor Files and Folders on a Windows Server using NCPA

Posted: Tue Mar 02, 2021 3:23 pm
by rdurga
Hello,

I want to setup monitoring of a Folder and it's contents. The monitoring will need to be detect if a file has been added or removed from the folder. The second type of monitoring will look to see if a file has been modified recently. I want to know if a user has updated a file and get alerted when it happens. The files are on a Windows server with the NCPA agent. What are your recommendations?

Thank you.

Re: Monitor Files and Folders on a Windows Server using NCPA

Posted: Wed Mar 03, 2021 5:17 pm
by cdienger
These are not immediately available in NCPA so you would need to find or create a script(plugin) do what you want and have NCPA run it.

Both can be tricky to script depending on exact needs, but something like https://exchange.nagios.org/directory/P ... s1/details can monitor the number of files in a directory as well as the size of a file.

This will help with integrating a plugin:

https://support.nagios.com/kb/article/n ... a-722.html

Re: Monitor Files and Folders on a Windows Server using NCPA

Posted: Thu Mar 11, 2021 3:38 pm
by rdurga
This topic can closed.

Re: Monitor Files and Folders on a Windows Server using NCPA

Posted: Thu Mar 11, 2021 4:30 pm
by scottwilkerson
rdurga wrote:This topic can closed.
Locking thread