<< Click to Display Table of Contents >> Navigation: Sensors > Harddisk Sensors > File Sensor (Linux) (Enterprise Edition only) |
The File Sensor (Linux) can monitor a single file on a Linux system.
Requirements:
To obtain information regarding the checksum the tool 'sha256sum' from the package 'coreutils' is needed.
Sensor Tasks
Test Sensor |
Tests the current sensor settings. |
Get Help |
Opens the ServerSentinel online help for the current sensor. |
Basic Settings
Name |
The name of the sensor (max. 100 characters). Choose a meaningful name to clearly identify the sensor. |
||||||||
Sensor is Active |
Toggles the sensor ON/OFF. |
||||||||
Check Interval |
The interval or times at which which the sensor should perform its checks.
|
||||||||
Only check if this Sensor didn't fail |
This sensor will only be checked, if the sensor in the drop down list didn't fail. |
Further Information
Comment |
Short additional information to the sensor (max. 255 characters). |
Connection Settings
Host |
IP address or DNS name of host which should be monitored (max. 255 characters). |
Port |
The port for SSH which should be used to connect to the target host. |
Credential |
Here you can either select an existing credential set or create a new one by inserting a display name, an username, a password and/or a private key. |
File Options
Path |
Path to the file which should be monitored (max. 1024 characters). |
Save the content in the database |
Whether to save the content of the file in the database. |
Credentials |
Here you can either select an existing credential set or create a new one by inserting a display name, an username and a password. |
Meta Data Values
Data Value |
Data Type |
Description |
Checktime |
Date |
The time the dataset has been created. |
Exception Message |
String |
The message of the error if any occurred. |
Response Time |
Integer |
The response time needed to perform the check. |
Status |
String |
A status string that may contain arbitrary information that was collected by the sensor (max. 255 characters). Per default this value is empty. |
Status Flag |
The status of the sensor after the check has been performed. |
Data Values
Data Value |
Data Type |
Description |
Checksum |
String |
The checksum of the file. |
Content |
String |
The content of the file. |
Extension |
String |
The extension of the file. |
Full Path |
String |
The full path to the file that is scanned. |
Last Access |
Date |
The date when the file was last accessed. |
Last Change |
Date |
The date when the file was last changed. |
Size |
Integer |
The size of the file. |
If the file to check is locked by another process and the content shall be persisted in the database or the data values "Content" or "Checksum" are used in active conditions, the "Status Flag" will change to "Error".