{ 'type' : 'Tcp' ,
'subents' : [
{
'status' : 'on' ,
'name' : 'mx1.example.com',
'tcpHost' : '12.34.56.78',
'tcpPort' : '25',
'goodPhrase' : '220 example.com ESMTP',
'triggers' : [{ 'level' : 'warn', 'trigger' : '5' }, ],
}
]
}
The Tcp Entity monitors the availability of TCP servers by pinging the server, connecting to their port and reading any response. The entity can check for a particular response phrase. The Entity reports the number of pings dropped, the ping time in seconds, the connect time in seconds, the time to send a message (if specified), and the time to receive a response from the server.
Fields
A descriptive name for this subentity.
The hostname or IP address of the host to monitor.
The port to connect to on tcpHost.
(Optional) The text to match on a successful connect. If not specified, a phrase is not checked for.
(Optional) The text to send immediately after connection. This can be used to "wake up" servers that require a client inquiry before returning a response.