![]() After a few moments, the Log pane entry updates and shows an event for the Monitor Folder activity. On the Runbook Tester toolbar, select Next. It can be used since Windows Vista (.NET and PowerShell is preinstalled) without any additional tools. In Windows Explorer, browse to the C:Source folder. H -t -P 5693 -M 'plugins/check_windows_files2. At work we use Powershell to monitor folders. Tip: To sync files from multiple folders to the destination path at one sync task, please click the. Click Add Folder to select the folder to be monitored. Name the task so that you can distinguish it from other sync tasks. I am calling the script via the NCPA by calling "check_xi_ncpa" with the following argument: Click Sync on the left pane and select Real-Time Sync. I've gotten to the point where the the script does a good job at monitoring folders that do not have spaces in the name, but for those with spaces (C:\Program Files (x86)\ for example), I am having a very difficult time getting the script to pass the path to Nagios as a string. I don't believe Nagios has a good way of doing this out-of-the-box, so I've resorted to using NCPA plugins. Once you open computer management, then you can click shared folders and then click open files underneath that. Or perhaps have it compress (ZIP), email, upload or delete the files. ![]() ![]() I've been working towards setting up folder monitoring for specific servers that check to make sure that files in a directory are older than one day. You can run computer management on the server that hosts the shares to see what account has the lock on the files. WatchDirectory - Monitor a directory for changes and react Automate your repetitive tasks WatchDirectory automates all your file-based tasks Just for example - you can tell watchDirectory to monitor a directory and automatically copy any new files to another location. ![]() Our environment consists of mainly Windows 2012-2019 servers, so I've been struggling to find a solution to this one. Select Search on the taskbar, type Command prompt, press and hold (or right-click) Command prompt, and then select Run as administrator > Yes. We recently brought Nagios XI into our environment to monitor all of our assets. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |