aboutsummaryrefslogtreecommitdiff
path: root/plugins/t
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.de> 2013-08-21 17:48:14 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2013-08-21 17:48:14 +0200
commit817ea52cc0288b708341a6dc73af3db7c40f3b86 (patch)
tree5d32732c3a9cfda5546199f036867fb8d84ad560 /plugins/t
parent43a913f281d9bc962d0e5bed0a7318e5dd005251 (diff)
downloadmonitoring-plugins-817ea52cc0288b708341a6dc73af3db7c40f3b86.tar.gz
fixed check_tcp test
A check with thresholds 9000,1 must exit with warning if the certificate expires in less than 9000 but more than one day.
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/check_tcp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t
index d6808bf2..c100cadd 100644
--- a/plugins/t/check_tcp.t
+++ b/plugins/t/check_tcp.t
@@ -32,7 +32,7 @@ $t += checkCmd( "./check_tcp $host_tcp_http -p 81 -wt 0 -ct 0 -to 1", 2
$t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt 0 -ct 0 -to 1", 2 );
$t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 2 );
$t += checkCmd( "./check_tcp -S -D 1 -H www.verisign.com -p 443", 0 );
-$t += checkCmd( "./check_tcp -S -D 9000,1 -H www.verisign.com -p 443", 0 );
+$t += checkCmd( "./check_tcp -S -D 9000,1 -H www.verisign.com -p 443", 1 );
$t += checkCmd( "./check_tcp -S -D 9000 -H www.verisign.com -p 443", 1 );
$t += checkCmd( "./check_tcp -S -D 9000,8999 -H www.verisign.com -p 443", 2 );
$t += checkCmd( "./check_tcp -6 -p 80 www.heise.de", 0 );