Skip to content

Query : agentIP option in hsflowd.conf file to select agent ip address #89

@koppulanagender-sys

Description

@koppulanagender-sys
  1. While exploring agentIP i saw below options in https://sflow.net/host-sflow-linux-config.php.

->As per below options agentIP is selected based on available IP addresses on the device and to boost priority below options can be used in hsflowd.conf file.

AGENT CIDR
agent.cidr = 10.0.0.0/8
Prefer an IP address that falls into this range.

agent.cidr = !192.168.0.0/16
Prefer an IP address that does NOT fall into this range.

AGENT INTERFACE
agent = eth0
Select the IP address associated with this interface.

  1. But while iam exploring the code, i saw one more option where even if the ip address is not present on the device, with below option agentIP can be selected.
    ->It can be any valid IPV4/IPV6 address and valid hostname .

agentIP = 2.2.2.2

Query :
1.May i know why this agentIP option is not provided in the document.(https://sflow.net/host-sflow-linux-config.php.)
2.My use case will be solved if i use agentIP in hsflowd.conf file , can i use this option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions