Make it possible for check_tcp to inhibit "TCP " in output (#1240)

Seegras notifications at github.com
Tue Feb 18 15:17:23 CET 2014


We've got the issue of having to check something from a remote server; which
can easily be done like this in /etc/snmp/snmpd.conf

extend connection /usr/lib/nagios/plugins/check_tcp -H <remote> -p 8080
And checking for 
check_snmp_extend!connection 
in icinga/nagios. 

Which would work but for 
TCP OK - 0.002 second response time on port
8080|time=0.002008s;;;0.000000;10.000000
That "TCP " in front of the OK. 

I loathe to make my own package; so I'd appreciate it if you just could add
a flag to it to inhibit this. I can make a patch if you want one, but it's
fairly trivial. 


-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1240
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140218/227dd73e/attachment.html>


More information about the Devel mailing list