monitoring-plugins/plugins
Holger Weiss cbc8a7f313 check_tcp: Print performance data even with -D
When using the 1.4.15 release of the Nagios Plugins, a command such as

  check_tcp -H pop.example.com -p 995 -D 14

usually produced two lines of output, e.g.:

  OK - Certificate will expire on 12/13/2014 23:59.
  TCP OK - 0.009 second response time on port 995|time=0.008849s;;;0.000000;10.000000

The second line was removed by 4d06603060.
However, as the old two-line output is a valid (though in this case
unintended) way to spit out performance data, removing the second line
might break current setups.  Therefore, we revert to the old behaviour,
at least for the moment.

The issue was reported by Jochen Bern on the "nagiosplug-devel" mailing
list (Message-ID: <4FEAE812.8030309@LINworks.de>).
2012-06-27 17:29:11 +02:00
..
t check_http: added test for warning thresholds 2012-06-25 12:53:47 +02:00
tests check_snmp: use single quotes for perf data labels 2012-06-27 00:02:09 +02:00
check_apt.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_by_ssh.c check_by_ssh: added -F config file to specify alternative ssh config 2012-04-09 22:16:39 +02:00
check_cluster.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_dig.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_disk.c Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603) 2010-11-15 23:59:35 +01:00
check_dns.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_dummy.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_fping.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_game.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_hpjd.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_http.c applied patch that adds both critical and warning thresholds to certificate expiration checks of check_tcp, check_http, check_smtp 2012-06-25 12:05:16 +02:00
check_ide_smart.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_ldap.c Fix: check_ldap now correctly handles the long option --hostname for -H 2011-08-13 03:44:27 +02:00
check_load.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_mrtg.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_mrtgtraf.c Standardize the extra-opts notes 2010-04-21 23:29:18 -04:00
check_mysql.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_mysql_query.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_nagios.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_nt.c check_nt: make UPTIME accept warning/critical levels 2010-10-15 01:52:29 -04:00
check_ntp.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_ntp_peer.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_ntp_time.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_nwstat.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_overcr.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_pgsql.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_ping.c check_ping: Add missing newline to die() calls 2012-06-25 01:58:17 +02:00
check_procs.c Fix for regex input of '|', being output causing problems with Nagios' parsing of 2011-01-21 13:14:33 +00:00
check_radius.c Make GCC happy 2011-09-06 23:20:21 -04:00
check_real.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_smtp.c applied patch that adds both critical and warning thresholds to certificate expiration checks of check_tcp, check_http, check_smtp 2012-06-25 12:05:16 +02:00
check_snmp.c check_snmp: use single quotes for perf data labels 2012-06-27 00:02:09 +02:00
check_ssh.c Add perfdata to check_ssh (#3244097 - Marco Beck) 2011-03-26 15:44:38 -04:00
check_swap.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_tcp.c check_tcp: Print performance data even with -D 2012-06-27 17:29:11 +02:00
check_time.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_ups.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
check_users.c check_users: Whitespace fixes, etc. 2012-06-07 10:43:15 +02:00
common.h Enable compiling on AIX 6.1 2012-02-10 10:27:24 -06:00
Makefile.am check_users: improve performance 2012-06-07 10:14:16 +02:00
negate.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
netutils.c Make socket alarm handler customisable (like c459ca07) 2009-03-24 21:40:06 -04:00
netutils.h applied patch that adds both critical and warning thresholds to certificate expiration checks of check_tcp, check_http, check_smtp 2012-06-25 12:05:16 +02:00
popen.c Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
popen.h Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
runcmd.c Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
runcmd.h Removing CVS/SVN tags and replacing with git-based versioning 2008-11-23 05:38:47 +00:00
sslutils.c check_http: added test for warning thresholds 2012-06-25 12:53:47 +02:00
urlize.c Add newline after "Usage:" in --help 2010-04-22 08:57:14 -04:00
utils.c Make alarm handler customisable 2009-03-20 02:19:42 -04:00
utils.h Update extra-opts help text based on ML agreement 2010-04-28 06:03:57 -04:00