Troubleshoot when directory check is not working

Troubleshooting steps when the directory check does not work for large number of files or folders

Monitor your directories using the Directory file added/deleted resource check. Log in to Site24x7 and go to Admin Server Monitor > Resource Check Profile > Create Resource Check Profile > Directory Checks > File Added/Deleted.

In case the directory check does not work as expected, check if you have .NET 3.5 version installed. If yes and the problem persists, check if there is sufficient memory quota of the WMI provider. To increase the memory quota, follow the steps below:
1. Go to Start > Run > Type wbemtest.exe
2. Click Connect on the Windows Management Instrumentation (WMI) Tester. 

3. In the Namespace text box, enter "root" (without quotes) and click Connect.

4. Click on Enum Instances.       

5. In the Class Info dialog box, under Enter Superclass Name, type "__ProviderHostQuotaConfiguration" (without quotes) and click OK.    

6. A Query Result window will come up. Now double click "__ProviderHostQuotaConfiguration=@".    

7. An Object Editor window will open up.
8. Under Properties, find and double-click on the property "MemoryPerHost" or any other ones you need to modify.    

9. The default memory quota of the WMI folder is 536870912 (equal to 512 MB). Change the value based on your requirement. For example, enter the value as 1073741824 for 1 GB.
 
10. Click Save Property.
11. Click Save Object in the Object Editor window.
12. Close the other windows and exit WMI.

This would resolve the issue and ensure the directory check works as configured. If the issue still persists, please drop in a mail to support@site24x7.com  
    • Related Articles

    • Troubleshooting tips for log collection errors

      The following is a list of possible log collection errors and the solutions to fix them: Error message Reason Solution Upload Limit Reached You might have reached the maximum upload limit configured for this log type in the current billing cycle. ...
    • Troubleshooting steps for On-Premise Poller

      Prerequisites and basic details: Prerequisites for installing On-Premise Poller Necessary ports to allow access to the installed On-Premise Poller How secure is On-Premise Poller Amount of bandwidth consumed by the On-Premise Poller software Adding ...
    • Troubleshooting steps if a resource check is not added or when no alerts are received when a check fails

      Common points to be remembered: Ensure the option Alert when a resource check fails is set to Yes in the associated server's threshold profile to trigger a TROUBLE alert for the configured check.   Check if you have sufficient licensing. The total ...
    • Troubleshooting steps in case of performance counter test failure or value mismatch

      From the Site24x7 web client, go to Network > Network Device . Click on the desired device name and go to the Performance Counters tab. Click Test on the desired performance counter.  Copy the Device Identifier/OID from the Test Performance Counter ...
    • Troubleshooting MIB file upload issues

      Purpose of the MIB browser in Site24x7 A management information base (MIB) browser helps you view the parsed MIB tree of the MIB file. From the MIB tree, you can select any node (or OID) and add it as a performance counter or an SNMP trap on ...