Commit b66d5010 authored by glucas's avatar glucas

picomon/checks.py: fix missing parenthesis in CheckTLSCert().

parent aa694e43
...@@ -314,7 +314,7 @@ class CheckTLSCert(Check): ...@@ -314,7 +314,7 @@ class CheckTLSCert(Check):
def build_command(self): def build_command(self):
command = ['/usr/lib/nagios/plugins/check_http', command = ['/usr/lib/nagios/plugins/check_http',
'--ssl', '--sni', '--ssl', '--sni',
'-C', str(self._options.get('warn', 7), '-C', str(self._options.get('warn', 7)),
'-t', str(self.timeout)] '-t', str(self.timeout)]
if 'port' in self._options: if 'port' in self._options:
command += ['-p', str(self._options['port'])] command += ['-p', str(self._options['port'])]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment