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
:
-
Add a file availability check
to
send an
alert once
the
file
Log.txt
is added.
-
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.
-
To test if the alert is working, c
reate a new file called
Log.txt
in the
D: drive
.
-
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
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, ...
How do I check if URL redirection works correctly using the Website Monitor?
A webpage can be made available from more than a single web address using URL redirection. Most redirects are automated and it becomes difficult to track if the redirection works in a specific way. This can be verified using website monitoring in ...
Meaning of the trouble message - "Content Length Modified"
This alert indicates that the content length of your monitored website has changed compared to the previous check. Even minor textual changes on your website will be reflected as a trouble alert. How it works Under Threshold Configuration, if you ...
How to configure the NGINX status page for monitoring NGINX performance
The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...
Why are my resources not being discovered?
When you cannot view the newly added Azure resources in your Azure monitor, you can check if Auto-discovery is disabled. If it is enabled, new resources will be added during auto-discovery. Manual triggering If your resource is not discovered, you ...