After you install the MiNiFi C++ agent, update the configuration file.
The configuration file for MiNiFi C++ is conf/minifi.properties
.
-
From the MiNiFi home directory, open the
minifi.properties
file.
-
Configure the Agent Class so that you can logically group MiNiFi instances
according to their functionality. Specify the agent class:
nifi.c2.agent.class={AGENT_CLASS}
-
Configure the Agent ID. If you do not specify an Agent ID, MiNiFi generates a
unique ID per agent instance.
nifi.c2.agent.identifier={AGENT_ID}
-
Configure your EFM Server endpoint:
nifi.c2.rest.url=http://{EFM_SERVER_IP}:10080/efm/api/c2-protocol/heartbeat
nifi.c2.rest.url.ack=http://{EFM_SERVER_IP}:10080/efm/api/c2-protocol/acknowledge
-
Configure the heartbeat interval:
nifi.c2.agent.heartbeat.period={HEARTBEAT_INTERVAL}
-
Configure metrics:
nifi.c2.agent.protocol.class=RESTSender