zabbix.py
def _get_hosts_in_groups(zapi, hostgroup):
    """Retrieves the hosts from a specific group.

    :param config: config for zapi
    :type config: dict
    :param hostgroup: specifies the host group
    :type hostgroup: str
    :return: list of hosts
    """
    groupid = _hostgroup_to_id(zapi, hostgroup)
    if groupid is None:
        return

    hosts = zapi.host.get(groupids=groupid)
    return hosts
Retrieves the hosts from a specific group.

    :param config: config for zapi
    :type config: dict
    :param hostgroup: specifies the host group
    :type hostgroup: str
    :return: list of hosts
    
Retrieves the hosts from a specific group.
Retrieves the hosts from a specific group .
def _get_hosts_in_groups(zapi, hostgroup):
    groupid = _hostgroup_to_id(zapi, hostgroup)
    if groupid is None:
        return
    hosts = zapi.host.get(groupids=groupid)
    return hosts
def _get_hosts_in_groups ( zapi , hostgroup ) : groupid = _hostgroup_to_id ( zapi , hostgroup ) if groupid is None : return hosts = zapi . host . get ( groupids = groupid ) return hosts
Retrieves the hosts from a specific group.
Retrieves the hosts from a specific group .
"""Retrieves the hosts from a specific group.

    :param config: config for zapi
    :type config: dict
    :param hostgroup: specifies the host group
    :type hostgroup: str
    :return: list of hosts
    """
list of hosts
list of hosts
zapi
hostgroup
specifies the host group
specifies the host group
config
config for zapi
config for zapi