Hello,
I have come across an issue with check_tcp plugin.
the plugin returns “0” value for some statistics for a set of few application servers.
[root@x nagios]# /usr/lib/nagios/plugins/check_tcp -H x.x.x.x -p 9000 -s “STATS” -q “END” -w 30 -c 30
TCP OK - 0.004 second response time on port 9000 [STAT uptime 39886
STAT time 1289378124
STAT version 2.1.0
STAT workload_requests 0
STAT result_requests 0
STAT active_workloads 0
STAT last_workload_request_id
STAT last_workload_request_time 0
STAT last_workload_result_id
STAT last_workload_result_time 0
END]|time= 0.004
[root@x nagios]# /usr/lib/nagios/plugins/check_tcp -H x.x.x.x -p 9000 -s “STATS” -q “END” -w 30 -c 30
TCP OK - 0.052 second response time on port 9000 [STAT uptime 5158204
STAT time 1289378135
STAT version 2.1.0
STAT workload_requests 64464
STAT result_requests 180834
STAT active_workloads 14
STAT last_workload_request_id b371452f-2175-47fe-857c-21015357cdb0
STAT last_workload_request_time 1289378134
STAT last_workload_result_id ad5eb506-6617-4512-b5cc-e6fa721c298c
STAT last_workload_result_time 1289378125
END]|time= 0.052
Why does check_tcp return different outputs here