Commit b66d5010 authored by glucas's avatar glucas
Browse files

picomon/ fix missing parenthesis in CheckTLSCert().

parent aa694e43
......@@ -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'])]
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