Specifications
Resource Types
As long as the process exists, this resource is maintained. When the process
terminates, the DNS resource is considered to have terminated.
Parameters
When used in a resource definition, a DNS resource supports the following
parameters:
ExecutableName. The name of the process
Hostname. The hostname of the server system to which the request was
sent
Port. The numeric value representing the port on the server system to
which the request was sent
In general, you do not need to specify parameters for the DNS resource. When
you omit DNS parameters, Application Response monitors DNS activity for all
executables, hostnames, and ports.
Note: You cannot use the IgnoreEvents clause for DNS Start or Stop events.
Example
The following example shows a resource definition and transaction definitions
for DNS activity.
resources
{
require one
{
resource Process { ExecutableName=$(Application Executable) }
}
additional
{
resource DNS { }
}
}
transaction "FailedLookup"
module "FailedLookup"
{
event "Fail" DNS FailedLookup { }
}
transaction "SuccessfulLookup"
module "SuccessfulLookup"
{
event "Success" DNS SuccessfulLookup { }
}
184 BTStudio Administration Guide