Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos Telemetry Interface User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring NTF Agent

date_range 23-Nov-23

To configure a Network Telemetry Framework (NTF) agent instance to send telemetry data to a single endpoint:

  1. Create a service agent instance.
    content_copy zoom_out_map
    [edit services analytics agent]
    user@host# edit service-agents agent-name
    
  2. 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.

    content_copy zoom_out_map
    [edit services analytics agent service-agents agent-name]
    user@host# edit inputs input-plugin-name parameters key-value-pairs
    
  3. 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.

    content_copy zoom_out_map
    [edit services analytics agent service-agents agent-name]
    user@host# set outputs ouput-plugin-name parameters key-value-pairs
    
  4. (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:
    content_copy zoom_out_map
    [edit services analytics agent service-agents agent1]
        inputs {
        input-plugin1 {
            parameters {
                input-plugin1-key-value-pairs;
            }
        }
        input-plugin2 {
            parameters {
                input-plugin2-key-value-pairs;
            }
        }
    }
        outputs {
            output-plugin {
                parameters {
                    output-plugin-key-value-pairs;
                }
            }
        }
    
  5. (Optional) Delete a service agent instance.
    content_copy zoom_out_map
    user@host# delete services analytics agent service-agents agent-name
    

To configure tracing operations for NTF agent:

  1. 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.

    content_copy zoom_out_map
    [edit services analytics agent]
    user@host# edit traceoptions filename filename
    
  2. Specify the severity level for messages to be logged.

    content_copy zoom_out_map
    [edit services analytics agent]
    user@host# edit traceoptions flag {debug | error | info | trace}
    

SHOW COMMANDS and LOG FILES

  1. Display the running service agent instances of the NTF agent.

    content_copy zoom_out_map
    user@host> show services analytics agent [brief | detail]
    
  2. 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.

footer-navigation