示例#1
0
def getToken():
    zabbix_function = ZabbixFunction(url, dataType ,user , password , urlpng , urlvalue , token , size)
    return zabbix_function.getToken()
示例#2
0
def getItemId(histId):
    return ZabbixFunction().getItemList( type , histId , token , url , dataType)
示例#3
0
def getGroupList():
    return ZabbixFunction().getGroupList(token , url , dataType)
示例#4
0
def getHostId(groupId):
    return ZabbixFunction().getHostList( groupId , token , url , dataType)
示例#5
0
def getPng(itemId):
    zabbix_function = ZabbixFunction(url, dataType ,user , password , urlpng , urlvalue , token , size)
    return zabbix_function.getValue( itemId ,type , path , period , starttime, pngwidth , pngheight)