What is the best way to monitor a folder for number of files? We would like an alert when a folder size reaches a certain threshold.
Thanks!
Yes, enter that that path into the file count monitor.
There is File Count template you can setup and then you may setup an alert based on that component monitor type by value.
To assign a template through the Manage Application Monitor Templates
page:
1. Log on to your Orion NPM Web Console with an Administrator account.
2. Click Application Performance Monitor in the Modules toolbar.
3. Click APM Settings.
4. Click Manage Application Monitor Templates.
5. Check the checkbox next to the template you want to assign.
6. Click Assign to Node.
7. Select the server node or nodes to which you want to apply the application
monitor template, and then click Next.
8. If suitable credentials already exist, choose the credential from the
Choose Credential list.
9. If suitable credentials do not exist, choose <New Credential> from the
Choose Credential list, and then add the new credential by filling out the
credential details.
10. Click Test to test the credentials and component monitors against the test
node..
11. If the test fails, troubleshoot the problem based on the error messages, and
then retest the node.
12. If the test passes, click Assign Application Monitors.
To setup an alert see:
Configuring Orion APM Alerts
on page 55- for steps.
http://www.solarwinds.com/support/apm/docs/APMAdministratorGuide.pdf
The File Count Monitor = 39 for the component monitor type.
Hope this helps.
Thanks, I was able to find that. For the Full Directory Path field, is it a standard UNC? Example: \\servername\c$\Program Files\Application\folder ?
When I test the Component Monitor it never completes. I've had it running for over an hour now.
Hi Mark, i am getting "Directory Not Found" error while trying to monitor the Folder using "File Count" template in SAM SolarWinds. for all the serves i am getting the same error.
Can you post a screenshot of how you are putting the file path?