Optional Descriptive Name
Optionally, provide a descriptive name for this trigger. Otherwise, a description will be created automatically based on the target computer name.
Enable this Trigger
If this box is checked, the trigger is enabled and will cause the job to run. If this box is not checked, adTempus will ignore this trigger.
Target
If the Test Method is "Simple Ping", specify the name or IP address of the computer to ping.
If the Test Method is "HTTP Request", specify the URL that adTempus should request. For example:
http://10.10.10.201/testapp.asp
Test Method
Select the type of test you want to perform:
Simple Ping. adTempus will ping the computer at the interval you specify. If a response is received, adTempus considers the computer to be alive. If no response is received, adTempus considers the computer to be dead, and triggers the job. Note that adTempus cannot distinguish between a failed computer and a failed network connection. Use the "HTTP Request" method for a better evaluation tool.
HTTP Request. adTempus requests a specific page from a Web server, and then evaluates the response it receives to decide whether to trigger the job. See Using adTempus to Monitor Your Web Application for more information.
Test Interval
These options determine how often adTempus will test the server:
Test every X minutes
Wait for a reply for Y seconds
Trigger after Z minutes
The options work together as follows:
Every X minutes, adTempus will send a ping or HTTP request to the target computer
adTempus will wait up to Y seconds to receive a response from the target.
If no response is received, it considers the target to be dead.
If a response is received, it checks the other criteria to see if the target should be considered alive.
If the target is dead, adTempus will continue checking every X minutes until Z minutes have elapsed since the first failure. If no valid response has been received after Z minutes, the job will be triggered.
If you want the job to be triggered the first time a failure is detected, set Z to be <= X.
Trigger at test interval until successful response received
If this option is checked, after adTempus first triggers the job it will continue to trigger the job at the test interval until the target is found to be alive.
If this option is not checked, adTempus will trigger the job only once per failure (that is, it will not trigger the job again unless the target is restored and then fails again).
Trigger again when successful response received
If this option is checked, adTempus will trigger the job again when a successful response is received from the target.
This option is useful if you are using the trigger to send a notification message to someone when the target fails. If this option is checked, a message would be sent when the target fails, and another sent when the target is restored.
The trigger sets a Script Parameter named "Action" that indicates whether the job is being triggered because the target failed or because it was restored. You can test this parameter using a Script Condition to determine which steps of your job to run depending on the action.
For example, Step 1 could use a Script Condition so that it only executes if the Action parameter is "ConnectionFailed". Step 1 therefore would be run when the target computer fails.
Step 2 could use a Script Condition so that it only executes if the Action parameter is "ConnectionRestored". Step 2 therefore would be run when the target computer was restored.
Response Evaluation
These options apply only when you have selected the "HTTP Request" test method, and determine how adTempus should evaluate the reply it receives from the target computer.
Trigger if response matches. If the response matches the specified text, the job will be triggered.
Trigger if response does not match. If the response does not match the specified text, the job will be triggered.
Use a script to evaluate the response. adTempus will run the script you specify. Information about the response will be passed to the script using the Parameters collection. Your script then evaluates the response and sets the global Result variable to True if adTempus should trigger the job, or False if it should not. Script example.
When you specify text for adTempus to match, adTempus looks for that text anywhere within the response it receives. For example, if you specify that the job should trigger if the response does not match "Application Status: OK", adTempus will look for the string "Application Status: OK" anywhere within the response, and trigger if it does not find it.
Use regular expressions
If this option is checked, the match text you enter is treated as a regular expression. If a match for that regular expression is found anywhere within the event message, the condition is satisfied.
Minimum Time Between Triggers
Specify the minimum time (in seconds) that must elapse after this trigger fires before adTempus will fire it again.
Description/Notes
Enter any extended descriptive information or notes for this trigger. There is no limit on the length of the text.
Using adTempus to Monitor Your Web Application
Sample setup for customizing the response to a failure