Error in trying to configure Spectrum Performance View on new OCS
search cancel

Error in trying to configure Spectrum Performance View on new OCS

book

Article ID: 393437

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

When trying to configure Spectrum performance view we see the following

 

% cd /spectrum/influx

% ./influxd -config influxdb_spectrum.conf &

% ./influx -port 9445 -database ##### -execute "CREATE USER ##### WITH PASSWORD '#####' WITH ALL PRIVILEGES"

However, I'm receiving the following error when I run the influx command on the OCS:

ERR: unable to parse authentication credentials
unable to parse authentication credentials

Environment

Dx NetOps Spectrum 24.3.4

Cause

Config file / hostname issue

Resolution

First:

1. Navigate to the influxdb folder

   cd $SPECROOT/influx

2. Edit influxdb_spectrum.conf

   vi influxdb_spectrum.conf

   - Find the [http] section and set auth-enabled = false


[http]
    enabled = true
    bind-address = ":9445"
    auth-enabled = false

 

3. Restart Influx

    cd $SPECROOT/bin/
    ./cmdC localhost 2 INFLUX

    ./launchinstdbapp localhost INFLUX y INFLUX.OUT


4. Attempt to run the command


% cd /spectrum/influx

% ./influx -port 9445 -database #### -execute "CREATE USER #### WITH PASSWORD '####' WITH ALL PRIVILEGES"

 

This caused the following issue:

 

  • % cd /spectrum/insideView/
  • % ./SpectrumInsideView &
  • % SpectrumInsideView
     This will provide the realtime insights of SpectroServer Performance metrics
    Traceback (most recent call last):
      File "SpectrumInsideView.py", line 616, in <module>
      File "SpectrumInsideView.py", line 563, in initalize_global_yml_variables
    KeyError: '####.##.####.###'
    Failed to execute script 'SpectrumInsideView' due to unhandled exception!
  • [1]    Exit 1                        ./SpectrumInsideView

 

To ultimately resolve this we updated SpectrumInsideView.conf to show the OneClick fully qualified name and the Performance Views started working

Additional Information