Difference between revisions of "Subagent:PortCheck"

590 bytes added ,  17:21, 17 January 2016
Clarified ServiceResponseTime.* return values
(Improved formatting, fixed errors.)
(Clarified ServiceResponseTime.* return values)
Line 48: Line 48:


= Response Codes =
= Response Codes =
===ServiceCheck.*===
All of the ServiceCheck.* parameters return the following values:
All of the ServiceCheck.* parameters return the following values:


Line 62: Line 64:
| 3 || Invalid / Unexpected response from ''target''.
| 3 || Invalid / Unexpected response from ''target''.
|}
|}
===ServiceResponseTime.*===
'''Before 2.0.2'''


All of the ServiceResponseTime.* parameters return the actual response time, up to timeout.<br>
All of the ServiceResponseTime.* parameters return the actual response time, up to timeout.<br>
If return value = timeout value, this means the service was unreachable.
If return value = timeout value, this means the service was unreachable.
Please not there was a bug for versions older than 2.0.2, where if you provided invalid parameters, ServiceResponseTime.* would return a very low return value, altho the check never actually happened due to incorrect parameters.
'''After 2.0.2'''
All of the ServiceResponseTime.* parameters return the actual response time (if a resonse was received).<br>
If there was a timeout, or if invalid response was received, or if provided arguments were invalid, the parameter will return a data collection error <<ERROR>>.


= Configuration file =
= Configuration file =
184

edits