Use case for file availability check

How File Added check works

Working Principle:
When a file availability check is added and the specified file is created or deleted, the resource check status will move to Down   and an alert will be sent to the user. If the specified file is already present in the folder   while   adding the check ,   alerts will not be triggered. But if the file is added later, an alert will be triggered once the file is added. This is specific to file availability check for files added.

Example scenario :
A user creates a file called Log.txt in the D: drive . Then, the user sets up a File Added Resource Check profile in their Windows server. The check is set up in a way that an alert will be triggered if a file called   Log.txt is created. However , the user does not receive an alert.

Reason for not getting the alert :
The reason in this case is that the user had already created a file called Log.txt in the   D: drive and a File Added Resource Check was added in the Site24x7 client for that particular file when the same file already exists . So, even after the next data collection, the status remained as Up (green).

Solution:

The user has to make sure that the resource check profile is created before the addition of the file. In this case :  

  1. Add a file availability check to send an alert once the file Log.txt is added.

  2. Make sure the option Alert when a resource check fails is set to Yes in the associated server's threshold profile to trigger a Trouble , Critical , or  Down alert for the configured check.

  3. To test if the alert is working, c reate a new file called Log.txt in the D: drive .

  4. When the file mentioned is added to the specified path, the status of the associated server monitor(s) will change to Trouble , Critical , or Down until the next data collection. 


    • Related Articles

    • APM Insight monitor not getting added to my account

      The most probable reason will be a wrong license key used while adding the agent. Check if you have added the agent in the application with the correct license key. If you have used the correct license key and still the monitor is not getting added, ...
    • How to generate a HAR file?

      HTTP Archive (HAR) stores all web requests made by the browser, including: The request and response headers and bodies. Connection, response, and download times. Failed requests or network errors. HAR files help troubleshoot issues related to speed, ...
    • 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 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 ...
    • Subdirectory Availability and File Availability Checks

      The subdirectory check is used to monitor all the sub directories within a monitored directory. The user has the option to monitor all the sub directories or a particular sub directory [subdirectory name supports regular expressions] under the ...