Configuring NTF Agent
To configure a Network Telemetry Framework (NTF) agent instance to send telemetry data to a single endpoint:
- Create a service agent instance.[edit services analytics agent]user@host# edit service-agents agent-name
- Configure parameters for the service agent input plug-in.
The input plug-in options include analytics, input-ipfix, and input-jti-ipfix. See the inputs configuration
statement for a description of the syntax.
Note When you modify the input plug-in configuration of a service agent instance, the associated service agent daemon is restarted.
[edit services analytics agent service-agents agent-name]user@host# edit inputs input-plugin-name parameters key-value-pairs - Configure parameters for the service agent output plug-in.
Parameters are based on the key/value pair requirements of the output
plug-in. For each service agent instance, you can configure only one
endpoint to which to export data. The output plug-in options include ouput-ipfix, kafka, and file. See the outputs configuration
statement for a description of the syntax.
Note When you modify the output plug-in configuration of a service agent instance, the associated service agent daemon is restarted.
[edit services analytics agent service-agents agent-name]user@host# set outputs ouput-plugin-name parameters key-value-pairs - (Optional) For each service agent instance, you can configure more than one input plug-in to push data to the output plug-in. To illustrate, the basic format of the configuration looks like:
- (Optional) Delete a service agent instance.user@host# delete services analytics agent service-agents agent-name
To configure tracing operations for NTF agent:
- Specify the name of the file to receive the output of
the tracing operation. The file is stored in the /var/log/ directory
of your device.[edit services analytics agent]user@host# edit traceoptions filename filename
- Specify the severity level for messages to be logged.[edit services analytics agent]user@host# edit traceoptions flag {debug | error | info | trace}
SHOW COMMANDS and LOG FILES
- Display the running service agent instances of the NTF
agent.user@host> show services analytics agent [brief | detail]
- Additionally, view information about service agent instances, such as whether the input and output plug-ins have been initialized, in the service agent log file: /var/log/agent-name.log.