[Nagiosplug-devel] check_tcp cleanup and optimization

Andreas Ericsson ae at op5.se
Mon May 30 14:53:31 CEST 2005


Ahoy.

Attached is a cleanup and optimization patch for check_tcp. It also 
removes some redundant code and fixes a potential SIGSEGV in the 
matching of server_expect against returned output and makes sure it 
doesn't print perfdata that appears to be OK when the server responded 
weirdly.

Note that further cleaning up should be done for this plugin and parts 
of it should be redesigned, but that's for another rainy day.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagiosplug-check_tcp.diff
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20050530/b58dd0f7/attachment.ksh>


More information about the Devel mailing list