#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# url = get_value ( 'ZABBIX_URL' ) #NEWLINE# user = get_value ( 'ZABBIX_USER' ) #NEWLINE# password = get_value ( 'ZABBIX_PASSWORD' ) #NEWLINE# self . host_group_id = get_value ( 'ZABBIX_HOST_GROUP' ) #NEWLINE# from pyzabbix import ZabbixAPI #NEWLINE# self . zapi = ZabbixAPI ( url ) #NEWLINE# self . zapi . login ( user , password ) #NEWLINE# from healthcheck.storage import MongoStorage #NEWLINE# self . storage = MongoStorage ( ) #NEWLINE# self . storage . conn ( )