コード例 #1
0
 def __init__(self, params):
     self.user = params['user']
     self.password = params['password']
     self.dbname = params['dbname']
     EngineCheck.__init__(self, 'Postgres', params['ip_addr'],
                          params['points'])
コード例 #2
0
 def __init__(self, params):
     self.uri = params['uri']
     EngineCheck.__init__(self, 'HTTP', params['ip_addr'], params['points'])
コード例 #3
0
 def __init__(self, params):
     ip_addr = ','.join(params['ip_addr'])
     EngineCheck.__init__(self, 'ICMP', ip_addr, params['points'])
コード例 #4
0
 def __init__(self, params):
     self.user = params['user']
     self.password = params['password']
     self.user_dn = params['user_dn']
     self.base_dn = params['base_dn']
     EngineCheck.__init__(self, 'LDAP', params['ip_addr'], params['points'])
コード例 #5
0
 def __init__(self, params):
     self.user = params['user']
     self.password = params['password']
     EngineCheck.__init__(self, 'POP3', params['ip_addr'], params['points'])
コード例 #6
0
 def __init__(self, params):
     EngineCheck.__init__(self, 'DNS', params['ip_addr'], params['points'])
コード例 #7
0
 def __init__(self, ip_addr, points, uri):
     self.uri = uri
     EngineCheck.__init__('HTTP', ip_addr, points)
コード例 #8
0
 def __init__(self, params):
     self.user = params['user']
     self.password = params['password']
     ip_addr = ','.join(params['ip_addr'])
     EngineCheck.__init__(self, 'SSH', ip_addr, params['points'])