From bc266802629430e1e6340366642d6989cda39a1d Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 4 May 2014 15:07:26 +0200 Subject: [PATCH] Improve plugin output --- check_ssl_certificate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_ssl_certificate b/check_ssl_certificate index bc96d45..5412e91 100755 --- a/check_ssl_certificate +++ b/check_ssl_certificate @@ -130,7 +130,7 @@ close(OPENSSL); $date =~ s/ +/ /g; my ($month, $day, $hour, $min, $sec, $year, $tz) = split(/[\s+|:]/, $date); -printf "Expiry date: %d %s %d, %d:%02d:%02d %s\n", $day, $month, $year, $hour, $min, $sec, $tz; +printf "SSL Certificate valid until %d %s %d, %d:%02d:%02d %s\n", $day, $month, $year, $hour, $min, $sec, $tz; my $daysLeft = int((timegm($sec, $min, $hour, $day, $months{$month}, $year - 1900) - time()) / 86400); -- 2.20.1