Monitors the status and contents of files on your Linux systems.
The Linux/SSH File Event Monitor is designed to help you monitor the status and content of files on your Linux-based systems. It includes options for monitoring file size, timestamps, and can event check the file on multiple runs while only looking at new content that was added since the last run.
This event monitor provides the following options:
Enter the full path to the file that the event monitor should check.
Use this option to control whether or not you will be notified if the event monitor is unable to establish an SSH connection.
Use this option to alert if the event monitor was able to connect to the network device but the file was missing or present. You might use the option to alert when a file is missing if you have a critical configuration file that applications or services depend on. The option to warn if the file is present can be used for cases where applications or services create an error file when an unexpected condition is detected.
Use this option to alert based on changes in the file's size.
Use this option to alert based on the file's last modified date.
With this option, you can get alerts if the file's size exceeds thresholds that you specify.
Enable this option to access further checks that will look at the contents of the file.
Use this option to get alerts when specified text is found in the file.
If this option is enabled and a match is found, the line that the match was found on will be included in all alerts and notifications.
Use this option to also include some of the lines that precede the one where the match was found.
Use this option to also include some of the lines that follow the one where the match was found.
With this option enabled and a match is found, the match will be ignored if any of the specified comma-separated text is found on the same line.
This option is the opposite of the previous one. It will alert you if the specified text is not found in the file.
By default, the event monitor will scan the entire file for the text you specify. With this option enabled it will only check new text that has been appended to the file since the last check.
With this option enabled the event monitor will show the first lines of the file in all alerts and notifications.
With this option enabled the event monitor will show the last lines of the file in all alerts and notifications.
With this option enabled the event monitor will show a portion of the new content that was added to the file since the last run.
With this option enabled the event monitor will use the time the event monitor runs to replace time tokens in the given file name.
The following table shows the complete list of tokens that are supported:
Enable this option if the server you are connecting to is running Solaris. Otherwise, leave it off.
The default port for SSH connections is 22 but if your servers are using a non-standard port you can specify it here.
The account used for authentication must have interactive login rights via SSH. It also must have permission to run the following commands:
This event monitor generates the following data points:
Data Point | Description |
---|---|
File Size | The size of a file. |
To view the tutorial for this event monitor, click here.
Add a comment