FILE AGE

From ServersCheck Wiki

Jump to: navigation, search

Contents

Description

This check basically verifies if the age of some file match with defined condition.


Definition

Fileage1.png


Besides general settings for each check, which are similar for all checks, there are following specific settings that also need to be established. In the Check Specific Settings, there are following fields you need to supply with parameters:

  • Filename (including path) - The full path to the file (including in its filename) or check the flag to read it from a file. It will then open the filelist.txt file in the agents directory and verify for each filename - one per line - if it exists.
  • File Date - You can monitor a file on the creation, accessed, or modified date. If no value is selected then it will check for the create date.


Fileage2.png


Returned Results

This check returns one result: OK if the file age match with defined condition; otherwise, a DOWN alarm is returned


Graphs

When the graphing option is activated then ServersCheck will produce for this check two graphs: Service Level, Availability.

Personal tools