Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     
     

    J-Insight Device Monitor Basic Configuration

    Before You Begin

    J-Insight requires that your Junos OS device supports the Junos Telemetry Interface (JTI). For information about JTI, see the Junos Telemetry Interface Feature Guide. To use J-Insight, you must first complete the following steps:

    1. Install the Junos OS Release 18.2R1 or later Junos Network Agent software package. For information on how to install Junos Network Agent, see Installing the Network Agent Package (Junos Telemetry Interface).
    2. Use the show version | grep “na telemetry” command to verify that the Network Agent package was successfully installed.
      user@host> show version | grep “na telemetry”
      JUNOS na telemetry
      [18.2|20180508_0022_builder]
    3. Install the Junos OS Release 18.2R1 or later OpenConfig for Junos OS software package. For information on how to install OpenConfig for Junos OS, see Installing the OpenConfig Package.
    4. Use the show version | grep “openconfig” command to verify that the OpenConfig package was successfully installed.
      user@host> show version | grep “openconfig”
      JUNOS Openconfig
      [0.0.0|20180503_1001_rbu-builder]
    5. Use the following commands to configure the Junos Telemetry Interface to accept client connections for gathering sensor data:
      • user@host> show configuration system services extension-service | display set

      • user@host> set system services extension-service request-response grpc skip-authentication

      • user@host> set system services extension-service notification allow-clients address 0.0.0.0/0

    6. Use the show agent sensors command to verify whether or not J-Insight has successfully subscribed to sensors on which it is dependent.
      user@host> show agent sensors
      .
      .
      .
      Sensor Information : 
                 
          Name                                    : sensor_1000           
          Resource                                : /junos/events/event[id='CHASSISD_SNMP_TRAP7']/ 
          Version                                 : 1.0                  
          Sensor-id                               : 539528115             
          Subscription-ID                         : 1000                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : eventd                
      
          Profile Information : 
                 
              Name                                : export_1000           
              Reporting-interval                  : 0                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      
      Sensor Information : 
                 
          Name                                    : sensor_1001           
          Resource                                : /junos/system/cmerror/configuration/ 
          Version                                 : 1.0                  
          Sensor-id                               : 539528114             
          Subscription-ID                         : 1001                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : PFE                   
      
          Profile Information : 
                 
              Name                                : export_1001           
              Reporting-interval                  : 6                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      
      Sensor Information : 
                 
          Name                                    : sensor_1002           
          Resource                                : /junos/system/cmerror/counters/ 
          Version                                 : 1.0                  
          Sensor-id                               : 539528113             
          Subscription-ID                         : 1002                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : PFE                   
      
          Profile Information : 
                 
              Name                                : export_1002           
              Reporting-interval                  : 6                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      
      Sensor Information : 
                 
          Name                                    : sensor_1003           
          Resource                                : /components/          
          Version                                 : 1.0                  
          Sensor-id                               : 539528112             
          Subscription-ID                         : 1003                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : chassisd              
      
          Profile Information : 
                 
              Name                                : export_1003           
              Reporting-interval                  : 6                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      
      Sensor Information :
                 
          Name                                    : sensor_1004           
          Resource                                : /junos/services/health-monitor/config/ 
          Version                                 : 1.0                  
          Sensor-id                               : 539528119             
          Subscription-ID                         : 1004                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : PFE                   
      
          Profile Information : 
                 
              Name                                : export_1004           
              Reporting-interval                  : 7                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      
      Sensor Information : 
                 
          Name                                    : sensor_1005           
          Resource                                : /junos/services/health-monitor/data/ 
          Version                                 : 1.0                  
          Sensor-id                               : 539528118             
          Subscription-ID                         : 1005                 
          Parent-Sensor-Name                      : Not applicable       
          Component(s)                            : PFE                   
      
          Profile Information : 
                 
              Name                                : export_1005           
              Reporting-interval                  : 7                     
              Payload-size                        : 5000                  
              Format                              : GPB                   
      

    J-Insight Health Monitoring

    Starting with Junos OS Release 18.2R1, J-Insight supports health monitoring for FPC FRUs on the MX Series routers. The J-Insight health monitor is disabled by default.

    • To enable the J-Insight health monitor:

    user@host# set services jinsightd subscribe health-monitor
    • To disable the J-Insight health monitor:

    user@host# delete services jinsightd subscribe health-monitor
    • To display the J-Insight health monitor results:

    user@host> show system health-monitor [fpc fpc-slot slot-number]

    J-Insight Fault Monitoring

    Starting with Junos OS Release 18.2R1, J-Insight supports fault monitoring for FPC FRUs on MX Series and PTX Series.

    CONFIGURATION COMMANDS

    • To configure and modify error thresholds and actions at the chassis level:

    user@host# set chassis error error-severity threshold threshold-number action recovery-action
    • To configure and modify error thresholds and actions at the FPC level:

    user@host# set chassis fpc slot-number error error-severity threshold threshold-number action recovery-action
    • Faults in J-Insight can be tracked through syslog and trace options for efficient troubleshooting. To enable J-Insight trace options:

    user@host# set services jinsightd traceoptions flag trace-option

    CLEAR COMMANDS

    • To clear a specific error denoted by the error ID URI for a specific FPC:

    user@host> clear system errors fpc fpc-slot slot-number error-id error-id- uri
    • To clear all system errors for a specific FPC:

    user@host> clear system errors fpc fpc-slot slot-number all

    SHOW COMMANDS

    • To display information about the conditions that have been configured to trigger alarms:

    user@host> show chassis alarms
    • To display information about the active errors based on FPC, error scope, or error category:

    user@host> show system errors active[ fpc-slot slot-number] [detail [scope error- scope [category error-category]]
    • To display a summary of the number of detected errors and recovery actions taken based on severity level:

    user@host> show system error count
    • To display information about the detected errors based on the FRU:

    user@host> show system errors fru [detail] [fpc [fpc-slot slot-number] [ error-id error-id-uri]]
     
     

    Modified: 2018-06-19