The Host
class provides information about hosts.
Constructs a new Host
object.
ntopng_obj
: The ntopng handle (Ntopng instance).ifid
: The interface ID (integer).ip
: The host IP address (string).vlan
(optional): The host VLAN ID (integer, if applicable).
Returns all available information about a single host.
- Returns: Information about the host (object).
Returns statistics about Layer 7 protocols for the host.
- Returns: Layer 7 protocol statistics (object).
Returns statistics about DSCP (Differentiated Services Code Point) per traffic direction for a host.
direction_rcvd
: The traffic direction (True for received traffic, False for sent).- Returns: DSCP statistics (object).
Retrieves the paginated list of active flows for the specified interface and host.
currentPage
: The current page (integer).perPage
: The number of results per page (integer).- Returns: All active flows (array).