From b66d50108ec5db859a8825f59e9ae8af91df5dea Mon Sep 17 00:00:00 2001 From: Guillaume LUCAS Date: Sat, 25 Aug 2018 11:14:39 +0200 Subject: [PATCH] picomon/checks.py: fix missing parenthesis in CheckTLSCert(). --- picomon/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picomon/checks.py b/picomon/checks.py index 6ffb539..183b2f4 100644 --- a/picomon/checks.py +++ b/picomon/checks.py @@ -314,7 +314,7 @@ class CheckTLSCert(Check): def build_command(self): command = ['/usr/lib/nagios/plugins/check_http', '--ssl', '--sni', - '-C', str(self._options.get('warn', 7), + '-C', str(self._options.get('warn', 7)), '-t', str(self.timeout)] if 'port' in self._options: command += ['-p', str(self._options['port'])] -- GitLab