Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/n/a/Nagstamon-HEAD/Nagstamon/Nagstamon/Server/Zabbix.py   Nagstamon(Download)
from Nagstamon.Objects import *
from Nagstamon.Server.Generic import GenericServer
from Nagstamon.thirdparty.zabbix_api import ZabbixAPI, ZabbixAPIException
 
 
    def _login(self):
        try:
            self.zapi = ZabbixAPI(server=self.monitor_url, path="", log_level=0)
            self.zapi.login(self.username, self.password)
        except ZabbixAPIException: