Here are the options in the configuration schema to enable TCP checking.

Table 1. port Option
Option Information Value
Description Port
Default A default value for port is set for each type of network service by properties in the netservices plug-in descriptor.
Optional false
Type N/A
Notes The port on which the service listens.
Parent Schema sockaddr
Table 2. hostname Option
Option Information Value
Description Hostname
Default localhost
Optional N/A
Type N/A
Notes The hostname of system that hosts the object to monitor. For example: mysite.com
Parent Schema netservices plug-in descriptor

Make sure that you use the IP address of the machine on which the remote check is to run, not the host name.

Table 3. sotimeout Option
Option Information Value
Description Socket Timeout (in seconds)
Default 10
Optional N/A
Type int
Notes The maximum amount of time the agent waits for a response to a request to the remote service.
Parent Schema netservices plug-in descriptor